Skip to content

Commit

Permalink
Update the pluginsFile / supportFile messages to mention .ts extensio…
Browse files Browse the repository at this point in the history
…ns are supported. (#7940)
  • Loading branch information
jennifer-shehane committed Jul 13, 2020
1 parent c72538d commit c4dda17
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/server/lib/errors.js
Expand Up @@ -550,7 +550,7 @@ const getMsgByType = function (type, arg1 = {}, arg2, arg3) {
return stripIndent`\
The support file is missing or invalid.
Your \`supportFile\` is set to \`${arg1}\`, but either the file is missing or it's invalid. The \`supportFile\` must be a \`.js\` or \`.coffee\` file or, if you're using a preprocessor plugin, it must be supported by that plugin.
Your \`supportFile\` is set to \`${arg1}\`, but either the file is missing or it's invalid. The \`supportFile\` must be a \`.js\`, \`.ts\`, \`.coffee\` file or be supported by your preprocessor plugin (if configured).
Correct your \`${arg2}\`, create the appropriate file, or set \`supportFile\` to \`false\` if a support file is not necessary for your project.
Expand All @@ -561,9 +561,9 @@ const getMsgByType = function (type, arg1 = {}, arg2, arg3) {
msg = stripIndent`\
The plugins file is missing or invalid.
Your \`pluginsFile\` is set to \`${arg1}\`, but either the file is missing, it contains a syntax error, or threw an error when required. The \`pluginsFile\` must be a \`.js\` or \`.coffee\` file.
Your \`pluginsFile\` is set to \`${arg1}\`, but either the file is missing, it contains a syntax error, or threw an error when required. The \`pluginsFile\` must be a \`.js\`, \`.ts\`, or \`.coffee\` file.
Or you might have renamed the extension of your \`pluginsFile\` to \`.ts\`. If that's the case, restart the test runner.
Or you might have renamed the extension of your \`pluginsFile\`. If that's the case, restart the test runner.
Please fix this, or set \`pluginsFile\` to \`false\` if a plugins file is not necessary for your project.`.trim()

Expand Down

3 comments on commit c4dda17

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on c4dda17 Jul 13, 2020

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.

You can install this pre-release platform-specific build using instructions at https://on.cypress.io/installing-cypress#Install-pre-release-version.

You will need to use custom CYPRESS_INSTALL_BINARY url and install Cypress using an url instead of the version.

export CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/5.0.0/linux-x64/circle-develop-c4dda17f46920b1d97cb36e7b64dbdbeacf65f77-391555/cypress.zip
npm install https://cdn.cypress.io/beta/npm/5.0.0/circle-develop-c4dda17f46920b1d97cb36e7b64dbdbeacf65f77-391538/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on c4dda17 Jul 13, 2020

Choose a reason for hiding this comment

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

AppVeyor has built the win32 x64 version of the Test Runner.

You can install this pre-release platform-specific build using instructions at https://on.cypress.io/installing-cypress#Install-pre-release-version.

You will need to use custom CYPRESS_INSTALL_BINARY url and install Cypress using an url instead of the version.

Instructions are included below, depending on the shell you are using.

In Command Prompt (cmd.exe):

set CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/5.0.0/win32-x64/appveyor-develop-c4dda17f46920b1d97cb36e7b64dbdbeacf65f77-34057323/cypress.zip
npm install https://cdn.cypress.io/beta/npm/5.0.0/appveyor-develop-c4dda17f46920b1d97cb36e7b64dbdbeacf65f77-34057323/cypress.tgz

In PowerShell:

$env:CYPRESS_INSTALL_BINARY = https://cdn.cypress.io/beta/binary/5.0.0/win32-x64/appveyor-develop-c4dda17f46920b1d97cb36e7b64dbdbeacf65f77-34057323/cypress.zip
npm install https://cdn.cypress.io/beta/npm/5.0.0/appveyor-develop-c4dda17f46920b1d97cb36e7b64dbdbeacf65f77-34057323/cypress.tgz

In Git Bash:

export CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/5.0.0/win32-x64/appveyor-develop-c4dda17f46920b1d97cb36e7b64dbdbeacf65f77-34057323/cypress.zip
npm install https://cdn.cypress.io/beta/npm/5.0.0/appveyor-develop-c4dda17f46920b1d97cb36e7b64dbdbeacf65f77-34057323/cypress.tgz

Using cross-env:

If the above commands do not work for you, you can also try using cross-env:

npm i -g cross-env
cross-env CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/5.0.0/win32-x64/appveyor-develop-c4dda17f46920b1d97cb36e7b64dbdbeacf65f77-34057323/cypress.zip npm install https://cdn.cypress.io/beta/npm/5.0.0/appveyor-develop-c4dda17f46920b1d97cb36e7b64dbdbeacf65f77-34057323/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on c4dda17 Jul 13, 2020

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.

You can install this pre-release platform-specific build using instructions at https://on.cypress.io/installing-cypress#Install-pre-release-version.

You will need to use custom CYPRESS_INSTALL_BINARY url and install Cypress using an url instead of the version.

export CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/5.0.0/darwin-x64/circle-develop-c4dda17f46920b1d97cb36e7b64dbdbeacf65f77-391573/cypress.zip
npm install https://cdn.cypress.io/beta/npm/5.0.0/circle-develop-c4dda17f46920b1d97cb36e7b64dbdbeacf65f77-391563/cypress.tgz

Please sign in to comment.