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.
2 parents 11d7285 + ea7c587 commit 21c1abbCopy full SHA for 21c1abb
adminforth/commands/createApp/utils.js
@@ -312,7 +312,7 @@ async function installDependencies(ctx, cwd) {
312
const isWindows = process.platform === 'win32';
313
314
const nodeBinary = process.execPath;
315
- const npmPath = path.join(path.dirname(nodeBinary), 'npm');
+ const npmPath = path.join(path.dirname(nodeBinary), isWindows ? 'npm.cmd' : 'npm');
316
const customDir = ctx.customDir;
317
if (isWindows) {
318
const res = await Promise.all([
0 commit comments