Next.js Discord

Discord Forum

Turbopack issue with nextjs15 in windows

Unanswered
Basset Fauve de Bretagne posted this in #help-forum
Open in Discord
Basset Fauve de BretagneOP
I tried to run nextjs with turbo pack but its not working. it gives me this error.
C:\Users\hp\Desktop\Nextjs\my-app>pnpm run dev

my-app@0.1.0 dev C:\Users\hp\Desktop\Nextjs\my-app
next dev --turbopack

▲ Next.js 15.1.8 (Turbopack)
- Local: http://localhost:3000
- Network: http://192.168.100.2:3000

✓ Starting...
[Error: turbo.createProject is not supported by the wasm bindings.]

ofc it works when i remove the --turbopack from "dev":"next dev --turbopack". but i want to use turbopack and wanna know why it isn't working

6 Replies

Giant panda
A couple of people in this issue (https://github.com/vercel/next.js/issues/70522) have had success in deleting /.next/ and /node_modules/ and installing again (I’m not familiar with pnpm but I guess pnpm install)
Basset Fauve de BretagneOP
lemme try it
Giant panda
Also making sure you’ve got the latest version of node installed.
@Basset Fauve de Bretagne lemme try it
You can also use WSL if you want to avoid facing these typse of errors in the future
Giant panda
Yeah that’s a good point, I’d recommend wsl as everything just seems to work so much better, but is a bigger switch.