Skip to content

Commit 5bba44e

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

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ workflows:
432432
- setup-and-build-win
433433
- test
434434
- e2e-cli-win:
435-
<<: *ignore_pull_requests
435+
# <<: *ignore_pull_requests
436436
requires:
437437
- setup-and-build-win
438438
- e2e-cli

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)