Next.js Discord

Discord Forum

PNPM not working with next dev --turbo Module not found

Unanswered
Brown bear posted this in #help-forum
Open in Discord
Brown bearOP
I'm using next@14.2.13 and pnpm@9.10.0, when I use next dev --turbo I keep getting Module not found error for @radix-ui/react-visually-hidden from other dependency (not my code). But when I use normal next dev it works normally.

6 Replies

Brown bearOP
Blanc de Hotot
can you try removing your lockfile + node_modules folder and rerunning pnpm install?
I mean, I tried, didn't work
pls mention me if anyone answer 🙏
Blanc de Hotot
do you get this error when you do a pnpm build + pnpm start too?