From 6cc17587dfdb50cd12b0543df898310e45cd86be Mon Sep 17 00:00:00 2001 From: Aarvin R <144612896+aarvinr@users.noreply.github.com> Date: Tue, 9 Jan 2024 16:23:50 -0800 Subject: [PATCH] fix #4272 for cli next steps - use npx/pnpx instead of npm/pnpm --- packages/blitz/src/cli/commands/new.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/blitz/src/cli/commands/new.ts b/packages/blitz/src/cli/commands/new.ts index 00ea987849..e10366b5d3 100644 --- a/packages/blitz/src/cli/commands/new.ts +++ b/packages/blitz/src/cli/commands/new.ts @@ -274,7 +274,7 @@ const newApp: CliCommand = async () => { ) } - postInstallSteps.push(`${projectPkgManger} blitz dev`) + postInstallSteps.push(`${projectPkgManger.replace("npm", "npx").replace("pnpm", "pnpm dlx")} blitz dev`) console.log("\n Your new Blitz app is ready! Next steps:") postInstallSteps.forEach((step, index) => {