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 ae04524 commit 565db3cCopy full SHA for 565db3c
.changeset/few-kiwis-breathe.md
@@ -0,0 +1,5 @@
1
+---
2
+"blitz": patch
3
4
+
5
+Fixed incorrect terminal message after creating a new Blitz project to use the correct command (`npm run dev` or `yarn dev`).
packages/blitz/src/cli/commands/new.ts
@@ -274,7 +274,7 @@ const newApp: CliCommand = async () => {
274
)
275
}
276
277
- postInstallSteps.push(`${projectPkgManger} blitz dev`)
+ postInstallSteps.push(`${projectPkgManger} ${projectPkgManger === "npm" ? "run " : ""}dev`);
278
279
console.log("\n Your new Blitz app is ready! Next steps:")
280
postInstallSteps.forEach((step, index) => {
0 commit comments