如何消除nodeclub启动时的Failed to load c++ bson extension, using pure JS version提示
发布于 9 年前 作者 nqdy666 6138 次浏览 最后一次编辑是 8 年前 来自 问答

Failed to load c++ bson extension, using pure JS version NodeClub listening on port 3000 in development mode God bless love… You can debug your app with http://localhost:3000

启动报 Failed to load c++ bson extension, using pure JS version 为什么会有这个提示呢?用什么方法可以消除这个提示呢?

6 回复

@ravenwang 看了你谷歌的首条信息http://stackoverflow.com/questions/21656420/failed-to-load-c-bson-extension 其中讲到的以下的方法都试过了,还是不行。 1、 rm -rf node_modules npm cache clean npm install

2、 the file ‘node_modules/mongoose/node_modules/mongodb/node_modules/bson/ext/index.js’ bson = require(’…/build/Release/bson’); So just change it to bson = require(‘bson’);

3、 npm install bson and then npm update

我也有。。。

可以无视。

楼主也有洁癖啊……找到输出这句话的位置,然后注释掉就好了,我就一般都直接忽视了……

回到顶部