Getting error “EACCES: permission denied” when i install cypress

拈花ヽ惹草 提交于 2019-12-11 16:57:53

问题


When i try to install cypress using this commnad:

sudo npm install cypress

or

sudo npm install -g cypress

It is giving me this error:

Error: EACCES: permission denied, open '/Users/humac/node_modules/cypress/cypress.zip'


回答1:


Workaround: sudo npm install --unsafe-perm=true --allow-root cypress



来源:https://stackoverflow.com/questions/55151786/getting-error-eacces-permission-denied-when-i-install-cypress

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!