Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect terminal message after creating a new Blitz project #4401

Closed
doe-base opened this issue Dec 23, 2024 · 0 comments · Fixed by #4402
Closed

Incorrect terminal message after creating a new Blitz project #4401

doe-base opened this issue Dec 23, 2024 · 0 comments · Fixed by #4402
Labels

Comments

@doe-base
Copy link
Contributor

doe-base commented Dec 23, 2024

What is the problem?

After successfully creating a new Blitz project, the terminal incorrectly instructs users to run the app with npm blitz dev. This command does not work, as blitz dev should be run with the correct package manager command (npm run dev or yarn dev).

Paste all your error logs here:

✔ Installing those dependencies (this will take a few minutes)
✔ Formatting your code
✔ Committing your app

Your new Blitz app is ready! Next steps:

  1. cd myAppName
  2. npm blitz dev

What are detailed steps to reproduce this?

  1. Create a new Blitz project using the Blitz CLI.
  2. After the project is created, observe the terminal output.
  3. The terminal message incorrectly instructs to run the app with npm blitz dev, which does not work.

Run blitz -v and paste the output here:

Blitz version: 2.1.3 (global)
Blitz version: 2.1.3 (local)
Linux 5.15 | linux-x64 | Node: v23.3.0

Package manager: npm

System:
OS: Linux 5.15 Linux Mint 21.3 (Virginia)
CPU: (4) x64 Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz
Memory: 4.16 GB / 7.65 GB
Shell: 5.1.16 - /bin/bash
Binaries:
Node: 23.3.0 - ~/.nvm/versions/node/v23.3.0/bin/node
Yarn: 1.22.22 - ~/.nvm/versions/node/v23.3.0/bin/yarn
npm: 10.9.0 - ~/.nvm/versions/node/v23.3.0/bin/npm
npmPackages:
@blitzjs/auth: 2.1.3 => 2.1.3
@blitzjs/next: 2.1.3 => 2.1.3
@blitzjs/rpc: 2.1.3 => 2.1.3
@prisma/client: 5.4.2 => 5.4.2
blitz: 2.1.3 => 2.1.3
next: 14.2.15 => 14.2.15
prisma: 5.4.2 => 5.4.2
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
typescript: ^4.8.4 => 4.9.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants