mirror of
https://github.com/SrIzan10/sern-create-bot.git
synced 2026-05-01 11:05:20 +00:00
fix: yarn installation
This commit is contained in:
@@ -192,7 +192,7 @@ async function runInstall(
|
||||
) {
|
||||
if (!runInstall) return;
|
||||
console.log('Installing dependencies with ', magentaBright(pkgManager!));
|
||||
spawn(pkgManager!, ['install'], { stdio: 'inherit', cwd });
|
||||
spawn(pkgManager!, ['install'], { stdio: 'inherit', cwd, shell: true });
|
||||
process.on('data', (s) => console.log(s.toString()));
|
||||
process.on('error', (e) => {
|
||||
console.error(e);
|
||||
|
||||
Reference in New Issue
Block a user