ubuntu - 无法在 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
是过时的路径
解决方案
看来我应该nx
用这个命令安装:npm i -g @nrwl/cli
推荐阅读
- svelte - 如何一键关闭 DaisyUI 抽屉菜单?
- android - 有没有一种方法可以让我们知道 BLE 设备是否在实际连接之前尝试连接到我?
- javascript - HTML 事件给出 'Uncaught TypeError: X is not a function'
- apache-spark - Pyspark:使用 udf 多次加载模型
- python - 从存储在 .txt 文件中的 url 下载图像?
- magento - 如何在 Magento 2 for Android 应用程序中获取客户设备令牌以便在客户设备上发送通知
- python - Pymongo 缓慢,日期聚合
- python - 循环遍历列表并在python中调用API
- scrollbar - excel vba滚动条不断滚动
- node.js - Cloud SQL 连接从云运行失败