| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -16,6 +16,12 @@ export default async function () { | |||
| 16 | 16 | await appendFile('.npmrc', '\nlegacy-peer-deps=true\n'); | |
| 17 | 17 | } | |
| 18 | 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 | + | ||
| 19 | 25 | const tag = isPrereleaseCli() ? '@next' : ''; | |
| 20 | 26 | ||
| 21 | 27 | await ng('add', `@angular/localize${tag}`, '--skip-confirmation'); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments