Skip to content

Commit

Permalink
fix: Update error to not indicate this 'usually' is due to deps (#17112)
Browse files Browse the repository at this point in the history
  • Loading branch information
jennifer-shehane committed Jul 6, 2021
1 parent 8f80b4e commit 63236d3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 36 deletions.
8 changes: 2 additions & 6 deletions cli/__snapshots__/errors_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,9 @@ current message
----------
This is usually caused by a missing library or dependency.
This may be due to a missing library or dependency. [34mhttps://on.cypress.io/required-dependencies[39m
The error above should indicate which dependency is missing.
https://on.cypress.io/required-dependencies
If you are using Docker, we provide containers with all required dependencies installed.
Please refer to the error above for more detail.
----------
Expand Down
24 changes: 6 additions & 18 deletions cli/__snapshots__/verify_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,9 @@ STRIPPED
Error: Cypress failed to start.
This is usually caused by a missing library or dependency.
This may be due to a missing library or dependency. https://on.cypress.io/required-dependencies
The error below should indicate which dependency is missing.
https://on.cypress.io/required-dependencies
If you are using Docker, we provide containers with all required dependencies installed.
Please refer to the error below for more details.
----------
Expand All @@ -138,13 +134,9 @@ Cypress Version: 1.2.3
exports['fails with no stderr 1'] = `
Error: Cypress failed to start.
This is usually caused by a missing library or dependency.
The error below should indicate which dependency is missing.
This may be due to a missing library or dependency. https://on.cypress.io/required-dependencies
https://on.cypress.io/required-dependencies
If you are using Docker, we provide containers with all required dependencies installed.
Please refer to the error below for more details.
----------
Expand Down Expand Up @@ -414,13 +406,9 @@ some weird indent
----------
This is usually caused by a missing library or dependency.
The error above should indicate which dependency is missing.
https://on.cypress.io/required-dependencies
This may be due to a missing library or dependency. https://on.cypress.io/required-dependencies
If you are using Docker, we provide containers with all required dependencies installed.
Please refer to the error above for more detail.
----------
Expand Down
16 changes: 4 additions & 12 deletions cli/lib/errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,9 @@ const invalidSmokeTestDisplayError = {
${hr}
This is usually caused by a missing library or dependency.
This may be due to a missing library or dependency. ${chalk.blue(requiredDependenciesUrl)}
The error above should indicate which dependency is missing.
${chalk.blue(requiredDependenciesUrl)}
If you are using Docker, we provide containers with all required dependencies installed.
Please refer to the error above for more detail.
`
},
}
Expand All @@ -164,13 +160,9 @@ const missingDependency = {
description: 'Cypress failed to start.',
// this message is too Linux specific
solution: stripIndent`
This is usually caused by a missing library or dependency.
The error below should indicate which dependency is missing.
This may be due to a missing library or dependency. ${chalk.blue(requiredDependenciesUrl)}
${chalk.blue(requiredDependenciesUrl)}
If you are using Docker, we provide containers with all required dependencies installed.
Please refer to the error below for more details.
`,
}

Expand Down

2 comments on commit 63236d3

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 63236d3 Jul 6, 2021

Choose a reason for hiding this comment

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

Circle has built the linux x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/7.7.0/circle-develop-63236d307aa827a7ba9e03f31bbafbf595a1b98a/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 63236d3 Jul 6, 2021

Choose a reason for hiding this comment

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

Circle has built the darwin x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/7.7.0/circle-develop-63236d307aa827a7ba9e03f31bbafbf595a1b98a/cypress.tgz

Please sign in to comment.