Skip to content

Commit

Permalink
Merge pull request #144 from Hexastack/fix/cli-extension-npm-deps
Browse files Browse the repository at this point in the history
fix: cli extension npm preinstall
  • Loading branch information
marrouchi authored Oct 4, 2024
2 parents 4b074af + 72df095 commit e30972d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit e30972d

Please sign in to comment.