Closed tonyabracadabra closed 1 month ago
It works without ppr
?
It works without
ppr
?
yea it works without ppr
It works without
ppr
?
Hey Timothy did you have chance to replicate the error? Since nextjs 15 is still in canary, do you think this is a problem that is fixable on contentlayer side?
Yes I get the error as well on a simple example - https://stackblitz.com/edit/github-ekmxur-ba82kk?file=next.config.js,package.json,tsconfig.json
Generated 3 documents in .contentlayer
✓ Compiled / in 5.7s (653 modules)
⨯ TypeError: Cannot read properties of undefined (reading 'stack')
at AsyncLocalStorage.run (node:async_hooks:18:3866)
at AsyncLocalStorage.run (node:async_hooks:18:3866)
digest: "2227156382"
⨯ TypeError: Cannot read properties of undefined (reading 'stack')
at AsyncLocalStorage.run (node:async_hooks:18:3866)
at AsyncLocalStorage.run (node:async_hooks:18:3866)
It's strange since experimental_ppr
is not even set for the route, so my guess it is a framework issue. Given that there are a lot of existing open issues on ppr, I will let next.js fix it before trying it out.
Yes I get the error as well on a simple example - https://stackblitz.com/edit/github-ekmxur-ba82kk?file=next.config.js,package.json,tsconfig.json
Generated 3 documents in .contentlayer ✓ Compiled / in 5.7s (653 modules) ⨯ TypeError: Cannot read properties of undefined (reading 'stack') at AsyncLocalStorage.run (node:async_hooks:18:3866) at AsyncLocalStorage.run (node:async_hooks:18:3866) digest: "2227156382" ⨯ TypeError: Cannot read properties of undefined (reading 'stack') at AsyncLocalStorage.run (node:async_hooks:18:3866) at AsyncLocalStorage.run (node:async_hooks:18:3866)
It's strange since
experimental_ppr
is not even set for the route, so my guess it is a framework issue. Given that there are a lot of existing open issues on ppr, I will let next.js fix it before trying it out.
Thanks!
The error is gone on the latest nextjs canary
Got the error above on
I think the problem is caused by configuring
in
next.config.js