Skip to content

Commit b8257e2

Browse files
clydinmgechev
authored andcommitted
fix(@angular/cli): re-introduce install package using shell spawn (#16112)
This works around a Windows CI failure that related to the PATH environment variable and a failure to located the `npm` command.
1 parent 9cd09e6 commit b8257e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/angular/cli/tasks/install-package.ts

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ export function installPackage(
5050

5151
const { status, stderr, stdout, error } = spawnSync(packageManager, [...installArgs, ...extraArgs], {
5252
stdio: 'pipe',
53+
shell: true,
5354
encoding: 'utf8',
5455
cwd,
5556
});

0 commit comments

Comments
 (0)