无法在Ubuntu 20(WSL)上运行Cypress



无法在Ubuntu 20(WSL(上运行cypress 4.12.0

我收到这个错误:

Cypress cannot run because this binary file does not have executable permissions here:
/home/****/.cache/Cypress/4.12.0/Cypress/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.
----------
Platform: linux (Ubuntu - 20.04)
Cypress Version: 4.12.0

我不是一个经验丰富的Linux用户。我试过重新安装柏树和node,但没有任何帮助。

我尝试了这个解决方案,但找不到Cypress.app。似乎/Users/***/Library/Caches/Cypress/4.0.2/Cypress.app/Contents/MacOS/Cypress是过时的路径

我似乎必须使用以下命令安装nxnpm i -g @nrwl/cli

最新更新