fix: cli extension npm preinstall

This commit is contained in:
Mohamed Marrouchi 2024-10-04 07:34:57 +01:00
parent 4b074af1b2
commit 72df095785

View File

@ -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',