fix: yarn installation

This commit is contained in:
Jacob Nguyen
2023-06-28 17:20:01 -05:00
parent 508522c259
commit b288d5087e

View File

@@ -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);