首页 > 解决方案 > 无法在 Ubuntu 20 (WSL) 上运行赛普拉斯

问题描述

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

我收到此错误:

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 用户。我试图重新安装柏树和节点 - 没有任何帮助。

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

标签: ubuntucypresswindows-subsystem-for-linux

解决方案


看来我应该nx用这个命令安装:npm i -g @nrwl/cli


推荐阅读