mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
Merge pull request #144 from Hexastack/fix/cli-extension-npm-deps
fix: cli extension npm preinstall
This commit is contained in:
commit
e30972d645
@ -250,6 +250,10 @@ program
|
|||||||
|
|
||||||
console.log(chalk.cyan('Running npm install in the api/ folder...'));
|
console.log(chalk.cyan('Running npm install in the api/ folder...'));
|
||||||
// Run npm install in the api folder to install dependencies
|
// 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', {
|
execSync('npm install', {
|
||||||
cwd: path.resolve(process.cwd(), 'api'),
|
cwd: path.resolve(process.cwd(), 'api'),
|
||||||
stdio: 'inherit',
|
stdio: 'inherit',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user