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

前端 未结 30 2368
囚心锁ツ
囚心锁ツ 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:39

    It is an npm 5.4.0 issue https://github.com/npm/npm/issues/18287

    Workarounds are

    • downgrade to 5.3
    • try running with --no-optional, i.e. npm install --no-optional

提交回复
热议问题