Inside a next.js project I try to type npm run dev in the terminal, but nothing happpens. Except this: sh: pnpm: command not found.
I think I am in the correct folder, and I also have run npm install. This is an existing project, that I have cloned.
What can I do to resolve the issue?
Install pnpm
with npm i pnpm --global
. Or use npm
.
You will have to run corepack command to enable pnpm:
corepack enable pnpm
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With