NPM ERR!削除を拒否/コードEEXIST

これは、私の周りを「グーグル」の後の鉱山を解決する方法でした...
  • あなたのノードがインストールされたディレクトリに移動します
  • あなたの名前を変更  npm.cmd し、  npm ファイルを
  • 再度インストールを実行してみてください
  • 以前の名前を変更した場合successful..deleteファイル  npm と npm.cmd
  • 、そうでない場合:( :(

CLIあなたが名前を変更したくない場合には、ここでのコマンド...と詰め込みます

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

del npm2
del npm2.cmd

ロルフ・Schmidiger

 

これは、スイッチ:https://stackoverflow.com/questions/46541371/npm-err-refusing-to-delete-code-eexist?from=singlemessage

おすすめ

転載: www.cnblogs.com/nizuimeiabc1/p/12153219.html