Npm install cannot find module 'semver'

后端 未结 26 1478
南方客
南方客 2020-11-29 15:29

I can\'t use npm install using the command prompt in NodeJS. I\'m getting these errors when running npm install:

module.js:339
             


        
26条回答
  •  迷失自我
    2020-11-29 15:42

    For Mac users, I tried installing a bunch of new node versions and uninstalling different ones. That didn't fix it. You have to completely wipe out all your installations first. Follow these instructions... How do I completely uninstall Node.js, and reinstall from beginning (Mac OS X).

    Then download the latest version of node.

提交回复
热议问题