Next.js Discord

Discord Forum

Next js 16 Turbopack build error."TypeError: Cannot read properties of null (reading 'constructor')

Unanswered
Mandarin fish posted this in #help-forum
Open in Discord
Mandarin fishOP
After upgrading to next js 16, i'm getting the following error when i run pnpm build.but it is working fine on pnpm dev and pnpm build --webpack.All the packages are up-to-date.

[package.json](https://codeshare.io/5wDEKJ)

[next.config.ts](https://codeshare.io/2Wp6Kb)

0 Replies