npm ERR! Refusing to delete / code EEXIST

前端 未结 12 1021
暖寄归人
暖寄归人 2020-12-24 11:17

I\'m just running a simple npm install and i get this error.

npm ERR! path /Users/jasonazoulay/Desktop/fabrick.io/delegation/node_modules/@angul         


        
12条回答
  •  猫巷女王i
    2020-12-24 12:01

    1. Uninstall node.js from control panel
    2. Delete below folders
    C:\Program Files (x86)\Nodejs
    C:\Program Files\Nodejs
    C:\Users\{User}\AppData\Roaming\npm (or %appdata%\npm)
    C:\Users\{User}\AppData\Roaming\npm-cache (or %appdata%\npm-cache)
    C:\Users\{User}\.npmrc (and possibly check for that without the . prefix too)
    C:\Users\{User}\AppData\Local\Temp\npm-*
    
    1. Install node.js again

提交回复
热议问题