dyld: lazy symbol binding failed: Symbol not found: _node_module_register

后端 未结 5 1419
时光说笑
时光说笑 2020-12-05 08:02

I have tried reinstalling and rebuilding npm, but the problem still persists.

Initially, the problem is with the module mongodb: I don\'t have that pac

5条回答
  •  眼角桃花
    2020-12-05 08:40

    If you just updated node and are running scripts via WebStorm, make sure you edit your Run/Debug Configurations and update the path to the Node Interpreter. I was using the node in

    /usr/local/bin/node
    

    , but after installing Node 4 using nvm, I need to use

    /path/to/.nvm/v4.2.2/bin/node
    

提交回复
热议问题