From b288d5087e5bc509e01c424c8cffd5340becfae4 Mon Sep 17 00:00:00 2001 From: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com> Date: Wed, 28 Jun 2023 17:20:01 -0500 Subject: [PATCH] fix: yarn installation --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 4b51d42..cdbf920 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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);