Merge pull request #144 from Hexastack/fix/cli-extension-npm-deps

fix: cli extension npm preinstall
This commit is contained in:
Mohamed Marrouchi 2024-10-04 08:17:09 +01:00 committed by GitHub
commit e30972d645
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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