npm hangs on any command

后端 未结 6 1053
庸人自扰
庸人自扰 2021-01-01 20:01

I installed last version of Node.js (12.2 x64 windows) After I run cmd as administrator and try to call any npm command (except npm -v

6条回答
  •  有刺的猬
    2021-01-01 20:09

    If anyone will encounter this problem in the future you need to find the npmrc file delete it and delete all configurations for node, delete node as well and install it, this should fix that. when deleting node some of the configurations aren't deleted so you have to delete it manually.

提交回复
热议问题