Skip to content

Commit

Permalink
[CLI] Fix installation with yarn on node 10
Browse files Browse the repository at this point in the history
  • Loading branch information
LoicPoullain committed Apr 7, 2022
1 parent b6987da commit 0c2d090
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 0c2d090

Please sign in to comment.