From 0c2d0909665e25bcc90bd3ff7af6eb74063a4b1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Poullain?= Date: Thu, 7 Apr 2022 18:34:00 +0200 Subject: [PATCH] [CLI] Fix installation with yarn on node 10 --- packages/cli/src/generate/generators/app/create-app.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/cli/src/generate/generators/app/create-app.ts b/packages/cli/src/generate/generators/app/create-app.ts index 723a04c563..8a5f91325b 100644 --- a/packages/cli/src/generate/generators/app/create-app.ts +++ b/packages/cli/src/generate/generators/app/create-app.ts @@ -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,