NPM Cannot read property '0' of undefined

前端 未结 11 779
你的背包
你的背包 2021-01-03 17:52

After updated Node (upto v8.6.0) and npm (upto v5.5.1) I cannot execute command npm install. After npm install I\'ve error message:

npm ERR! Can         


        
11条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-03 18:34

    npm 5.3.0 is broken for windows 10 after upgrading the nodeJS.
    You should downgrade the npm, it is a temporary solution but works fine.

    npm install -g npm@5.2.0

提交回复
热议问题