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

前端 未结 30 2300
囚心锁ツ
囚心锁ツ 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条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-05 04:30

    cache clean and npm update to latest with force work for me

    npm cache clean --force
    
    npm install -g npm@latest --force
    

提交回复
热议问题