I am building an angular project and was trying to run “npm install @angular/cli” and “npm update” on a cloned repository to initially set it up. I ended up getting really lengthy installs which always ended in EACCES errors. I believe it’s due to antivirus/proxy/firewall errors on my laptop. I decided I would try and just copy and paste the node_modules folder from a working repository on a different machine into my repository. I know this isn’t best practice, but what exactly are the consequences of doing this? I’ll just be running the code on my system to test changes, and the node_modules folder is listed in my gitignore file, so it won’t mess any other developers up.
Submitted December 05, 2018 at 04:55AM by Hufflepuff_420
No comments:
Post a Comment