Angular-CLI ng new: “Error: EPERM: operation not permitted…”

后端 未结 9 1518
死守一世寂寞
死守一世寂寞 2021-01-04 09:53

I am trying to use Angular-CLI to install a new Angular2 app, but keep running into the following issue:

ng new payment-calc-app

After \"Install

9条回答
  •  礼貌的吻别
    2021-01-04 10:56

    I had the same trouble in getting angular cli to work. I tried almost all the possible solutions listed on stackoverflow and other mediums but got failure.

    For me what worked was to run an antivirus security scan on my computer. A malicious program was setting the node_modules inside C://users//AppData/roaming/npm to read only mode. Once that virus got removed, I Installed npm and angular cli again and it finally worked.

提交回复
热议问题