【问题标题】:Cypress not openeing the Test runner on execution of command node_modules/.bin/cypress open赛普拉斯在执行命令 node_modules/.bin/cypress open 时未打开测试运行器
【发布时间】:2022-08-17 18:14:00
【问题描述】:

在执行命令 node_modules/.bin/cypress open 时,它会给出以下错误 -

我只使用 npm 包安装了 cypress npm -i 初始化 npm install cypress --save-dev 当我检查缓存文件夹 - C:\\Users\\usename\\AppData\\Local\\Cypress\\Cache\\10.6.0\\Cypress Cypress.exe 文件存在,但在执行命令时未打开(node_modules/.bin/cypress open)

安装的 Cypress 版本是 10.6.0 错误- 看起来您正在直接运行 Cypress 二进制文件。

这不是推荐的方法,赛普拉斯可能无法正常工作。

请安装 cypress NPM 包并按照此处的说明进行操作:

https://on.cypress.io/installing-cypress

    标签: cypress


    【解决方案1】:

    使用:“npx cypress open”命令

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-04-26
      • 2022-06-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-12-27
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多