N-blog运行报dyld: lazy symbol binding failed: Symbol not found: _node_module_register
发布于 9 年前 作者 coldcutter 9467 次浏览 最后一次编辑是 8 年前 来自 问答

初学者想弄点源码学习…选了N-blog:https://github.com/nswbmw/N-blog npm install成功了,然后node app启动不起来,报如下错: coldcutterdeMacBook-Pro:N-blog coldcutter$ npm start

N-blog@1.0.0 start /Users/coldcutter/Desktop/dev/nodejs/N-blog node app

dyld: lazy symbol binding failed: Symbol not found: _node_module_register Referenced from: /Users/coldcutter/Desktop/dev/nodejs/N-blog/node_modules/mongodb/node_modules/bson/build/Release/bson.node Expected in: dynamic lookup

dyld: Symbol not found: _node_module_register Referenced from: /Users/coldcutter/Desktop/dev/nodejs/N-blog/node_modules/mongodb/node_modules/bson/build/Release/bson.node Expected in: dynamic lookup

Trace/BPT trap: 5

好烦的,求大神指点下啊!不胜感激!! 系统:OS X Yosemite 10.10.2 node版本:v0.10.36 express版本:4.11.2 mongodb版本:2.6.7

3 回复

我也是这个问题,googol了半天也没找到解决方法,如果你解决了得话,能发我邮箱一下么,多谢啦,sublime3@163.com

mongodb 安装出问题了, 在项目下执行 npm remove mongodb 然后再重新执行 npm install mongodb

回到顶部