javascript - 我无法在 Mac 上打开 Cypress:找不到 Cypress
问题描述
我已经检查了关于 SO 的答案,到目前为止,没有一个对我有用。
我把我的问题放在视频里。 在这里观看
什么地方出了错?昨天还好好的吗?
到目前为止我所做的:
重新安装柏树
试图打开:.node_modules\.bin\cypress open
然后尝试: npx cypress open
收到以下消息
No version of Cypress is installed in: /Users/jacquelinegeorge/Library/Caches/Cypress/3.4.0/Cypress.app
Please reinstall Cypress by running: cypress install
----------
Cypress executable not found at: /Users/my_name/Library/Caches/Cypress/3.4.0/Cypress.app/Contents/MacOS/Cypress
----------
Platform: darwin (18.7.0)
Cypress Version: 3.4.0
解决方案
我在我的 Mac 上尝试了以下命令并且它有效:
npx cypress open
推荐阅读
- c++ - 在 Visual Studio 2017 中使用 recursive_directory_iterator
- c++ - 如何在循环外重新输入变量
- c# - DropDownList 的 DataTextField 和 DataValueField 属性
- ios - App Store Connect:您的应用“应用程序”存在一个或多个问题
- c# - 不同项目中Web API引用方法中的Func Delegate
- android - 我们如何使用样式自定义警报对话框的字体?
- solr - SOLR UI - 如何在 facet.query 中添加多个值?
- c# - 如何获取嵌套 JSON 文件中的密钥并将其添加到组合框
- python - 如何验证 virtualenv 的完整性
- sql - 在大表上运行缓慢的 SQL 查询