node error cannot find module already installed

前端 未结 2 2026
灰色年华
灰色年华 2020-12-14 20:51
[root@zexu websocket_start]# npm ls -g installed
npm WARN ls doesn\'t take positional args. Try the \'search\' command
npm WARN websocket-server@1.4.04 package.json: bugs         


        
2条回答
  •  爱一瞬间的悲伤
    2020-12-14 21:04

    you have installed the module global go to your app and try this to link the global to your application folder

       sudo npm link  
    

提交回复
热议问题