mirror of
https://github.com/hexastack/hexabot
synced 2024-11-26 13:51:20 +00:00
fix: cli extension npm preinstall
This commit is contained in:
parent
4b074af1b2
commit
72df095785
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user