File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
system-tests/lib/dep-installer Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,11 @@ export function getYarnCommand (opts: {
29
29
// @see https://github.com/yarnpkg/yarn/issues/6407
30
30
cmd += ' --update-checksums'
31
31
32
+ // FIXME: Currently with Electron 27, we use Node 18.17.1. Angular 18 dependencies need at least Node 18.19.1
33
+ // which throws an install error on incompatible node version. Once we upgrade to Electron 29, the below line can be removed.
34
+ // Remove this flag when https://github.com/cypress-io/cypress/issues/29547 is complete.
35
+ cmd += ' --ignore-engines'
36
+
32
37
// in CircleCI, this offline cache can be used
33
38
if ( opts . isCI ) cmd += ` --cache-folder=${ homedir ( ) } /.yarn`
34
39
else cmd += ` --cache-folder=${ path . join ( tempDir , 'cy-system-tests-yarn-cache' , String ( Date . now ( ) ) ) } `
You can’t perform that action at this time.
0 commit comments