From 72df0957859fa59b722af1e99d4661a09687a4be Mon Sep 17 00:00:00 2001 From: Mohamed Marrouchi Date: Fri, 4 Oct 2024 07:34:57 +0100 Subject: [PATCH] fix: cli extension npm preinstall --- cli/src/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cli/src/index.ts b/cli/src/index.ts index 29707d8..c81e19f 100644 --- a/cli/src/index.ts +++ b/cli/src/index.ts @@ -250,6 +250,10 @@ program console.log(chalk.cyan('Running npm install in the api/ folder...')); // Run npm install in the api folder to install dependencies + execSync('npm run preinstall', { + cwd: path.resolve(process.cwd(), 'api'), + stdio: 'inherit', + }); execSync('npm install', { cwd: path.resolve(process.cwd(), 'api'), stdio: 'inherit',