dyld:惰性符号绑定失败:找不到符号:_node_module_register [英] dyld: lazy symbol binding failed: Symbol not found: _node_module_register
本文介绍了dyld:惰性符号绑定失败:找不到符号:_node_module_register的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我尝试重新安装和重建npm,但是问题仍然存在.
I have tried reinstalling and rebuilding npm, but the problem still persists.
最初,问题出在模块mongodb
上:我没有该软件包,所以我使用此命令npm install mongodb
安装了mongodb
.
Initially, the problem is with the module mongodb
: I don't have that package, so I installed mongodb
using this command npm install mongodb
.
它向我显示以下错误:
dyld: Symbol not found: _node_module_register
It shows me the following error:
dyld: Symbol not found: _node_module_register
推荐答案
尝试删除您的node_modules文件夹并再次运行npm install.
Try deleting your node_modules folder and running npm install again.
rm -rf node_modules/
npm install
那应该解决它.
这篇关于dyld:惰性符号绑定失败:找不到符号:_node_module_register的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文