npm error on every command: EEXIST: file already exists, mkdir 'c:\users\user\appdata\Roaming\npm'

后端 未结 8 1806
孤街浪徒
孤街浪徒 2021-01-02 13:10

I\'m just new to node and npm and this is frustrating.

Well it\'s almost all said in the title. On a Windows 10 x64 using a NON elevated prompt, all npm commands sho

8条回答
  •  我在风中等你
    2021-01-02 13:41

    I had similar issue, solved it by removing .npmrc file, located at c:\Users\\ location.

    I believe it was caused by running earlier npm config set in wrong location.

    Kudos to this comments thread.

提交回复
热议问题