Npm install cannot find module 'semver'

后端 未结 26 1480
南方客
南方客 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:58

    I'm facing the same issue here.

    If this occurs right after you run brew install yarn try running yarn global add npm and voilà - fixed!

提交回复
热议问题