Next.js Discord

Discord Forum

Next canary + react compiler crash

Unanswered
Chow Chow posted this in #help-forum
Open in Discord
Avatar
Chow ChowOP
Hi there, I'm trying out the newest Next canary version with react compiler turned on and I started getting this crash that only appears in production build deployed through docker.

 ⨯ TypeError: Cannot read properties of undefined (reading 'escape')
    at <unknown> (/.next/server/chunks/792.js:6:58491)
    at 43192 (/.next/server/chunks/792.js:6:58628)
    at t (/.next/server/webpack-runtime.js:1:128)
    at 13442 (/.next/server/chunks/34.js:1:4287)
    at Object.t [as require] (/.next/server/webpack-runtime.js:1:128)
    at <unknown> (/node_modules/.pnpm/next@15.0.3-canary.3_babel-plugin-react-compiler@0.0.0-experimental-fe484b5-20240912_react-do_uela753nba4mcwu6gsesccgozi/node_modules/next/dist/compiled/next-server/app-page-experimental.runtime.prod.js:127:1282)
    at async rd (/node_modules/.pnpm/next@15.0.3-canary.3_babel-plugin-react-compiler@0.0.0-experimental-fe484b5-20240912_react-do_uela753nba4mcwu6gsesccgozi/node_modules/next/dist/compiled/next-server/app-page-experimental.runtime.prod.js:126:11919)
    at async n7 (/node_modules/.pnpm/next@15.0.3-canary.3_babel-plugin-react-compiler@0.0.0-experimental-fe484b5-20240912_react-do_uela753nba4mcwu6gsesccgozi/node_modules/next/dist/compiled/next-server/app-page-experimental.runtime.prod.js:132:1237)
    at async doRender (/node_modules/.pnpm/next@15.0.3-canary.3_babel-plugin-react-compiler@0.0.0-experimental-fe484b5-20240912_react-do_uela753nba4mcwu6gsesccgozi/node_modules/next/dist/server/base-server.js:1573:34) {
  digest: '4242544531'
}


Any ideas on how to debug where it's coming from?

0 Replies