Skip to content

Commit

Permalink
Merge pull request #1058 from FoalTS/fix-yarn-install-node-10
Browse files Browse the repository at this point in the history
[CLI] Fix installation with yarn on node 10
  • Loading branch information
LoicPoullain authored Apr 7, 2022
2 parents b6987da + 0c2d090 commit a8f939b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/cli/src/generate/generators/app/create-app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ export async function createApp({ name, autoInstall, initRepo, mongodb = false,
log();
const spinner = log(`%s 📦 Installing dependencies (${packageManager})...`, true);

const args = [ 'install' ];
// TODO: in version 3, remove the hack "--ignore-engines"
const args = [ 'install', '--ignore-engines' ];
const options: SpawnOptions = {
cwd: names.kebabName,
shell: true,
Expand Down

0 comments on commit a8f939b

Please sign in to comment.