首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >错误:下载Cypress二进制文件失败

错误:下载Cypress二进制文件失败
EN

Stack Overflow用户
提问于 2021-04-06 08:30:10
回答 1查看 141关注 0票数 1

我正在使用Nextjs和Vercel来部署我的网站。Cypress昨天工作得很好。但是今天,当Vercel运行构建时,我得到了以下错误:

我注意到vercel安装的是Cypress版本6.9.0,而我的package.json文件中有6.8.0。

所以我将版本更新到6.9.0,但是我仍然得到相同的错误。为什么会突然发生这样的事情?

我的package.json文件

代码语言:javascript
复制
{
  "name": "website",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "dev": "cross-env API_URL=http://localhost:1337 next dev",
    "public-dev": "next dev",
    "build": "next build",
    "start": "next start",
    "cypress:open": "cypress open"
  },
  "dependencies": {
    "@apollo/client": "^3.1.3",
    "@blueprintjs/core": "^3.35.0",
    "@blueprintjs/datetime": "^3.19.3",
    "@popperjs/core": "^2.5.4",
    "axios": "^0.21.1",
    "graphql": "^15.3.0",
    "graphql-tag": "^2.10.4",
    "isomorphic-unfetch": "^3.1.0",
    "moment": "^2.29.1",
    "next": "10.0.2",
    "next-with-apollo": "^5.1.0",
    "nouislider-react": "^3.3.8",
    "react": "^17.0.1",
    "react-copy-to-clipboard": "^5.0.2",
    "react-dom": "^17.0.1",
    "react-flatpickr": "^3.10.6",
    "react-froala-wysiwyg": "^3.2.1",
    "react-ga": "^3.2.1",
    "react-gtm-module": "^2.0.11",
    "react-localization": "^1.0.15",
    "react-lottie": "^1.2.3",
    "react-popper": "^2.2.3",
    "react-scroll": "^1.8.1",
    "react-slick": "^0.27.13",
    "sass": "^1.30.0",
    "swiper": "^6.3.5",
    "swr": "^0.4.2"
  },
  "devDependencies": {
    "@types/node": "^14.0.27",
    "@types/react": "^16.9.46",
    "cross-env": "^7.0.2",
    "cypress": "^6.9.0",
    "cypress-localstorage-commands": "^1.4.2",
    "eslint": "^7.4.0",
    "eslint-config-standard": "^14.1.1",
    "eslint-plugin-import": "^2.22.0",
    "eslint-plugin-node": "^11.1.0",
    "eslint-plugin-promise": "^4.2.1",
    "eslint-plugin-react": "^7.21.5",
    "eslint-plugin-standard": "^4.0.1",
    "typescript": "^3.9.7"
  }
}
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2021-04-06 09:58:59

Cypress团队错误地发布了6.9.0,实际上版本是7.0.0,他们将删除6.9.0:

https://github.com/cypress-io/cypress/issues/15797

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/66961328

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档