We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acd14cd commit 0b6573dCopy full SHA for 0b6573d
apps/rush-lib/src/scripts/install-run.ts
@@ -138,7 +138,7 @@ export function getNpmPath(): string {
138
_npmPath = lines[lines.length - 1];
139
} else {
140
// We aren't on Windows - assume we're on *NIX or Darwin
141
- _npmPath = childProcess.execSync('which npm', { stdio: [] }).toString();
+ _npmPath = childProcess.execSync('command -v npm', { stdio: [] }).toString();
142
}
143
} catch (e) {
144
throw new Error(`Unable to determine the path to the NPM tool: ${e}`);
common/changes/@microsoft/rush/patch-1_2020-04-11-10-11.json
@@ -0,0 +1,11 @@
1
+{
2
+ "changes": [
3
+ {
4
+ "packageName": "@microsoft/rush",
5
+ "comment": "",
6
+ "type": "none"
7
+ }
8
+ ],
9
10
+ "email": "mail@jkroepke.de"
11
+}
0 commit comments