I was provided an angular project with a set of existing errors and a list of enhancements to work on. When I downloaded the same and tried running "npm install" on the project, it failed saying "Operation not permitted by operating system". I have tried all the solutions suggested online including:
- npm cache clean
- npm cache clean --force
- deleting the node_modules folder
- Running npm cache clean over and over again
- Trying different versions of Node along with npm v5+
- Running all the commands and opening IDE in "Run as Administrator" mode
- Ran all the commands from command prompt as well
- Ran all the commands from command prompt opened in "Run as Administrator" mode
- Deleted the package-lock.json file and then ran "npm install"
- Deleted the package-lock.json file and then ran "npm install --no-optional" In between all the above steps tried my own recipes as well.
If someone could help me figure out what the issue is?
I found a thread on Github discussing the error. The solutions described do not work for me.