npm install gets stuck at fetchMetadata

前端 未结 12 1131
星月不相逢
星月不相逢 2020-12-25 13:40

I\'m currently unable to run npm install in any project since today. I\'m running node v8.2.1 & npm 5.3.0 (installed via nvm).

When typing npm

12条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-25 14:06

    I solve this issue by opening the package-lock.json and reset all the json. Delete the current content and replace it with

    {}

    then reinstall the package.

提交回复
热议问题