【发布时间】:2020-10-16 22:02:39
【问题描述】:
当我发出命令时:npx cypress open
给出以下错误:
Cypress cannot run because this binary file does not have executable permissions here:
/Users/gianmarx/Library/Caches/Cypress/5.4.0/Cypress.app/Contents/MacOS/Cypress
Reasons this may happen:
- node was installed as 'root' or with 'sudo'
- the cypress npm package as 'root' or with 'sudo'
Please check that you have the appropriate user permissions.
You can also try clearing the cache with 'cypress cache clear' and reinstalling.
----------
Platform: darwin (19.6.0)
Cypress Version: 5.4.0
我尝试安装它,但没有什么总是给我这个错误。
如果我尝试清除缓存它不起作用:
gianmarx@MBPdiGianmarco hoquLDesc % cypress cache clear
zsh: command not found: cypress
【问题讨论】:
标签: cypress