Error: "The operation was rejected by your operating system" when trying to create new angular project using windows powershell

Restarting the machine worked for me.


I found the problem: My antivirus was somehow blocking the files without me knowing. It worked once I paused my antivirus during the installation.


In windows10 I disabled the windows defender / windows security ==> realtime protection and try again npm install command and it worked

1. enter image description here

2. enter image description here

3. enter image description here