You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What Netlify build image are you using? This setting is available under "Deploy settings / Build image selection". Probably either "Ubuntu Trusty 14.04" or "Ubuntu Xenial 16.04" - Ubuntu Xenial 16.04
Describe the bug
I have a monorepo containing many different packages. New package have latest version of [email protected] but all other packages have older versions of Cypress.
In preBuild it shows info about Cypress and it is showing correctly i.e, 7.2.0
But when postBuild runs it is trying to use v4.12.1 instead which is failing it as there are many breaking changes.
Here is the netlify.toml:
[build.environment]
CYPRESS_CACHE_FOLDER = "./node_modules/.cache/CypressBinary"
TERM = "xterm"
CI = "1"
[[plugins]]
package = "netlify-plugin-cypress"
[plugins.inputs]
record = false
enable = false
configFile = "packages/web/cypress.json"
[plugins.inputs.postBuild]
enable = true
record = false
group = '1: testing built site'
The error is: Error: The cypress npm package is installed, but the Cypress binary is missing.
because it is trying to find inside ./node_modules/.cache/CypressBinary/4.12.1 and it binary are in ./node_modules/.cache/CypressBinary/7.2.0
Is there any way I can specify a version to be used for cypress?
The text was updated successfully, but these errors were encountered:
Versions
Describe the bug
I have a monorepo containing many different packages. New package have latest version of [email protected] but all other packages have older versions of Cypress.
In preBuild it shows info about Cypress and it is showing correctly i.e, 7.2.0
But when postBuild runs it is trying to use v4.12.1 instead which is failing it as there are many breaking changes.
Here is the netlify.toml:
The error is:
Error: The cypress npm package is installed, but the Cypress binary is missing.
because it is trying to find inside
./node_modules/.cache/CypressBinary/4.12.1
and it binary are in./node_modules/.cache/CypressBinary/7.2.0
Is there any way I can specify a version to be used for cypress?
The text was updated successfully, but these errors were encountered: