[英]dyld: lazy symbol binding failed: -> references a package I am not using
meteor.js noob here. meteor.js菜鸟在这里。 I am trying to run an application I just cloned from github... I am getting the following error about lazy symbol binding
我正在尝试运行刚从github克隆的应用程序...我收到有关lazy symbol binding
的以下错误
W20160817-10:30:52.177(-4)? (STDERR) dyld: Symbol not found: _node_module_register
W20160817-10:30:52.177(-4)? (STDERR) Referenced from: /Users/user1/.meteor/packages/npm-bcrypt/.0.8.7.cg8y4v++os.osx.x86_64+web.browser+web.cordova/npm/node_modules/bcrypt/build/Release/bcrypt_lib.node
W20160817-10:30:52.177(-4)? (STDERR) Expected in: dynamic lookup
W20160817-10:30:52.177(-4)? (STDERR)
The app does not use bcrypt to the best of my knowledge, as it only uses OAuth. 据我所知,该应用程序未使用bcrypt,因为它仅使用OAuth。 I have also looked through the packages list, and bcrypt is not there (as it shouldn't be) I have tried to resolve the issue through... 我还查看了软件包列表,但bcrypt不存在(因为它不应该存在),我试图通过以下方法解决该问题:
sudo rm -rf node_modules
npm install
npm rebuild <package>
as suggested in some topics with similar issues. 如某些类似问题的主题所建议。
I have also done 我也做过
meteor add <package>
meteor remove <package>
I have tried to install bcrypt to see if the app will run, I have looked through a whole bunch of similar error messages on stackoverflow. 我尝试安装bcrypt来查看该应用程序是否将运行,我在stackoverflow上浏览了一堆类似的错误消息。 Nothing seems to help. 似乎没有任何帮助。
Any help would be greatly appreciated! 任何帮助将不胜感激!
Ok, after a massive amount of attempts, I somehow solved the problem by installing nvm, uninstalling and reinstalling node, dropping the node_modules and reinstantiating them, and updating the bcrypt indirect dependency. 好的,经过大量尝试,我以某种方式解决了该问题,方法是安装nvm,卸载并重新安装节点,删除node_modules并重新实例化它们,以及更新bcrypt间接依赖关系。
It seems that installing NVM is what made the biggest difference. 看来安装NVM才是最大的不同。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.