Skip to content

Commit dcdf1c2

Browse files
committed
fix(@angular/cli): re-introduce install package using shell spawn (angular#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 b7b07d5 commit dcdf1c2

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
@@ -42,6 +42,7 @@ export function installPackage(
4242

4343
const { status, stderr, stdout, error } = spawnSync(packageManager, [...installArgs, ...extraArgs], {
4444
stdio: 'pipe',
45+
shell: true,
4546
encoding: 'utf8',
4647
shell: true,
4748
cwd,

0 commit comments

Comments
 (0)