dyld:懒惰的符号绑定失败:找不到符号:_node_module_register [英] dyld: lazy symbol binding failed: Symbol not found: _node_module_register

查看:27
本文介绍了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:找不到符号:_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屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆