Error: EPERM: operation not permitted, unlink 'D:\Sources\**\node_modules\fsevents\node_modules\abbrev\package.json'

前端 未结 30 2372
囚心锁ツ
囚心锁ツ 2020-12-05 04:00

I just updated npm to 5.4.0.
Now, Whenever I want install a npm package I get the following error:

D:\\Sources\\DownloadCms\\Md         


        
30条回答
  •  旧时难觅i
    2020-12-05 04:29

    This was the only thing that worked for me:

    npm cache clean --force
    
    npm install -g npm@latest --force
    
    rm package-lock.json
    
    npm i -force
    

提交回复
热议问题