We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da7dd0b commit 5dc9290Copy full SHA for 5dc9290
1 file changed
tests/legacy-cli/e2e/tests/commands/add/version-specifier.ts
@@ -16,6 +16,12 @@ export default async function () {
16
await appendFile('.npmrc', '\nlegacy-peer-deps=true\n');
17
}
18
19
+ // If using yarn, ignore engines check. Otherwise installing '@latest' package versions
20
+ // might fail if they require a newer Node.js runtime version than the E2E test runner.
21
+ if (getActivePackageManager() === 'yarn') {
22
+ await appendFile('.yarnrc', '\nignore-engines true\n');
23
+ }
24
+
25
const tag = isPrereleaseCli() ? '@next' : '';
26
27
await ng('add', `@angular/localize${tag}`, '--skip-confirmation');
0 commit comments