Next.js Discord

Discord Forum

[CLOSED] Revert from pnpm back to npm

Answered
Sun bear posted this in #help-forum
Open in Discord
Sun bearOP
Hello,
I am new to both Node and Next. So I decided to start with a template and downloaded https://vercel.com/templates/next.js/admin-dashboard-tailwind-postgres-react-nextjs

After installation I tried to run dev and encountered a "pnpm not found error" - see output below. I would like to stick to npm for now and hence would like to update the script that caused the "pnpm not found" error.

I would very much appreciate guidance on where I can locate this script and/or how to fall back from pnpm to npm.

Many thanks!

local-machine:$ npm run dev

dev
next dev --turbo

▲ Next.js 14.2.3 (turbo)

Local: http://localhost:3000/

✓ Starting...
/bin/sh: 1: pnpm: not found
✓ Compiled in 1824ms
✓ Ready in 5.2s
Answered by Sun bear
That said, I got frustrated and installed pnpm 😄
View full answer

4 Replies