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)
J
可以无视。
N
引用 JacksonTian可以无视。
@JacksonTian 好吧
C
楼主也有洁癖啊……找到输出这句话的位置,然后注释掉就好了,我就一般都直接忽视了……
R
N
引用 ravenwanghttps://www.google.com/search?q=Failed+to+load+c%2B%2B+bson+extension%2C+using+pure+JS+version&o...
@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
B
我也有。。。
参与回复
登录后即可参与回复。登录