首页 > 其他 > 详细

npm ERR! Refusing to delete / code EEXIST

时间:2020-01-05 19:17:48      阅读:1114      评论:0      收藏:0      [点我收藏+]
This was how I solved mine after ‘googling‘ around...
  • Navigate to the directory your node was installed in
  • rename your npm.cmd and npm files
  • Try run the installation again
  • If successful..delete the files you renamed earlier npm and npm.cmd
  • if not, :( :(

The cli commands here...in case you don‘t want to be renaming and stuffs

cd %ProgramFiles%\nodejs
ren npm.cmd npm2.cmd
ren npm npm2 
npm2 install npm@latest -g

del npm2
del npm2.cmd

Rolf-schmidiger

 

本文转自:https://stackoverflow.com/questions/46541371/npm-err-refusing-to-delete-code-eexist?from=singlemessage

npm ERR! Refusing to delete / code EEXIST

原文:https://www.cnblogs.com/nizuimeiabc1/p/12153219.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!