Skip to content

Commit

Permalink
fix(@angular/cli): re-introduce install package using shell spawn (#1…
Browse files Browse the repository at this point in the history
…6112)

This works around a Windows CI failure that related to the PATH environment variable and a failure to located the `npm` command.
  • Loading branch information
clydin authored and mgechev committed Nov 8, 2019
1 parent 72802ed commit ff98175
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/angular/cli/tasks/install-package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export function installPackage(

const { status, stderr, stdout, error } = spawnSync(packageManager, [...installArgs, ...extraArgs], {
stdio: 'pipe',
shell: true,
encoding: 'utf8',
cwd,
});
Expand Down

0 comments on commit ff98175

Please sign in to comment.