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 bc837eb commit ea7c587Copy full SHA for ea7c587
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