dev script doesn't run next
blur94 opened this issue · comments
[next] /bin/sh: next: command not found [next] next start exited with code 127
The above is the error message I get on my terminal
codegen concurrently runs successfully, but next never spins off the project, so no port is assigned.
I deleted my node_modules several times, and the issue still persists. Also, the issue happens for all the packages
Are you running pnpm dev
? Make sure you have run pnpm install
before that.
@blur94 Hey, did you follow the instructions on the README
- cd into either
packages/blog-starter-kit/themes/enterprise
, orpackages/blog-starter-kit/themes/hashnode
orpackages/blog-starter-kit/themes/personal
- Copy
.env.example
to.env.local
pnpm install
pnpm dev
If you don't have pnpm
installed, check this out - https://pnpm.io/installation
Thanks for your help, @panda-sandeep and @rishabkumar7.
But I feel like that part about running it locally should be lifted to the fore a bit. It's easy for someone to overlook it, as it is deep down to the end of the docs.