Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Unable to install Cypress in MAC via install npm install cypress –save-dev

Unable to install Cypress tool on Mac

npm install cypress --save-dev is not working niether npm install cypress
npm ERR! code EACCES
npm ERR! syscall open
npm ERR! path /Users/amitojkhurana/.npm/_cacache/tmp/0a7c5eac
npm ERR! errno -13
npm ERR! 
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR! 
npm ERR! To permanently fix this problem, please run:
npm ERR!   sudo chown -R 501:20 "/Users/amitojkhurana/.npm"

npm ERR! A complete log of this run can be found in: /Users/amitojkhurana/.npm/_logs/2024-04-03T23_00_24_412Z-debug-0.log

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

It’s telling you what to do here:

sudo chown -R 501:20 "/Users/amitojkhurana/.npm"
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading