Skip to content

Commit

Permalink
refactor: maybe just install ng cli locally?
Browse files Browse the repository at this point in the history
  • Loading branch information
sjungling committed Feb 16, 2024
1 parent 79bb577 commit 85dd678
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ private void runNode(Accumulator acc, ExecutionContext ctx) {
try {
if (useNvmExec) {
// older versions may require installing the angular cli globally to avoid issues with `npx`
runCommand(Arrays.asList("nvm-exec", "npm", "install", "--global", angularCliVersion), dir, nodeModules, ctx);
runCommand(Arrays.asList("nvm-exec", "npm", "install", angularCliVersion), dir, nodeModules, ctx);

// prefix the command with `nvm-exec` to ensure the correct node version is used
npmInstallCommand.add(0, "nvm-exec");
Expand Down

0 comments on commit 85dd678

Please sign in to comment.