Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docker build #6229

Closed
wants to merge 3 commits into from
Closed

Fix docker build #6229

wants to merge 3 commits into from

Conversation

er0k
Copy link

@er0k er0k commented Mar 23, 2020

There are some problems with cypress v4.2, so lock it at 4.1. Yarn also
seems to require git for some reason, so install it into the container

There are some problems with cypress v4.2, so lock it at 4.1. Yarn also
seems to require git for some reason, so install it into the container
package.json Outdated
@@ -5,6 +5,7 @@
"devDependencies": {
"audit-ci": "^2.4.2",
"eslint-plugin-cypress": "^2.10.3",
"cypress": "^4.1",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The version is in packages/manager/package.json

"cypress": "~4.0.2",

You need to run yarn install:all

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like yarn is trying to install 2 versions of cypress. One version is locked to 4.0.2 in the manager package, but the eslint-plugin-cypress dependency in the root package.json is trying to install the latest version of cypress (4.2) which causes errors downloading the binary. See cypress-io/cypress#4840

@acourdavault
Copy link
Contributor

What is the issue you are encountering?

@er0k er0k closed this Mar 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants