https://github.com/talatkuyuk/next15-canary-bug-reproduction
next15-canary-bug-reproduction
https://github.com/talatkuyuk/next15-canary-bug-reproduction
Last synced: 3 months ago
JSON representation
next15-canary-bug-reproduction
- Host: GitHub
- URL: https://github.com/talatkuyuk/next15-canary-bug-reproduction
- Owner: talatkuyuk
- Created: 2025-02-23T13:24:57.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-02-23T14:38:51.000Z (3 months ago)
- Last Synced: 2025-02-23T15:19:31.362Z (3 months ago)
- Language: TypeScript
- Size: 56.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# next15-canary-bug-reproduction
It is a bug reproduction for **`[email protected]`** and still continues in **`[email protected]`**.
It throws the error below in only development mode, not in production.
```bash
TypeError: Cannot read properties of undefined (reading 'stack')
at stringify ()
at stringify () {
digest: '3183793578'
}
```No problem with the Next.js versions (tested)
- `[email protected]`
- `[email protected]`
- `[email protected]`
- `[email protected]`
- `[email protected]`
- `[email protected]`
- `[email protected]`
- `[email protected]`### Step to produce the error
`npm run dev`--> open browser and click to article (http://localhost:3000/article-import-component-mjs-mdx), and see the error in development mode.
`npm run build` and `npm run start` --> open browser and click the articles, see there is NO error in production mode.
Then,
```bash
npm i -S [email protected]
rm -rf .next && npm run dev
```and see **there is NO error** in development and production modes.
Then,
```bash
npm i -S [email protected]
rm -rf .next && npm run dev
```and see **the TypeError** in development mode.
### What is `next-mdx-remote-client`
It is a fork of **[`next-mdx-remote`](https://github.com/ipikuka/next-mdx-remote-client)**, having more features like supporting import statements in MDX.
It works well with all version of `next` for one year almost.
### Log in the console related with the error
I put it in the end because of it is long:
```bash
[Error] TypeError: Cannot read properties of undefined (reading 'stack')
resolveErrorDev
processFullStringRow
processFullBinaryRow
progressThe above error occurred in the component. It was handled by the error boundary.
onCaughtError (error-boundary-callbacks.js:53)
logCaughtError (react-dom-client.development.js:8138)
runWithFiberInDEV (react-dom-client.development.js:1474)
(anonim işlev) (react-dom-client.development.js:8185)
callCallback (react-dom-client.development.js:4841)
commitCallbacks (react-dom-client.development.js:4861)
runWithFiberInDEV (react-dom-client.development.js:1474)
commitClassCallbacks (react-dom-client.development.js:11062)
commitLayoutEffectOnFiber (react-dom-client.development.js:12182)
recursivelyTraverseLayoutEffects (react-dom-client.development.js:13296)
commitLayoutEffectOnFiber (react-dom-client.development.js:12105)
recursivelyTraverseLayoutEffects (react-dom-client.development.js:13296)
commitLayoutEffectOnFiber (react-dom-client.development.js:12105)
recursivelyTraverseLayoutEffects (react-dom-client.development.js:13296)
commitLayoutEffectOnFiber (react-dom-client.development.js:12291)
recursivelyTraverseLayoutEffects (react-dom-client.development.js:13296)
commitLayoutEffectOnFiber (react-dom-client.development.js:12291)
recursivelyTraverseLayoutEffects (react-dom-client.development.js:13296)
commitLayoutEffectOnFiber (react-dom-client.development.js:12291)
recursivelyTraverseLayoutEffects (react-dom-client.development.js:13296)
commitLayoutEffectOnFiber (react-dom-client.development.js:12291)
recursivelyTraverseLayoutEffects (react-dom-client.development.js:13296)
commitLayoutEffectOnFiber (react-dom-client.development.js:12291)
recursivelyTraverseLayoutEffects (react-dom-client.development.js:13296)
commitLayoutEffectOnFiber (react-dom-client.development.js:12291)
recursivelyTraverseLayoutEffects (react-dom-client.development.js:13296)
commitLayoutEffectOnFiber (react-dom-client.development.js:12105)
recursivelyTraverseLayoutEffects (react-dom-client.development.js:13296)
commitLayoutEffectOnFiber (react-dom-client.development.js:12110)
recursivelyTraverseLayoutEffects (react-dom-client.development.js:13296)
commitLayoutEffectOnFiber (react-dom-client.development.js:12105)
recursivelyTraverseLayoutEffects (react-dom-client.development.js:13296)
commitLayoutEffectOnFiber (react-dom-client.development.js:12105)
recursivelyTraverseLayoutEffects (react-dom-client.development.js:13296)
commitLayoutEffectOnFiber (react-dom-client.development.js:12291)
recursivelyTraverseLayoutEffects (react-dom-client.development.js:13296)
commitLayoutEffectOnFiber (react-dom-client.development.js:12105)
recursivelyTraverseLayoutEffects (react-dom-client.development.js:13296)
commitLayoutEffectOnFiber (react-dom-client.development.js:12105)
recursivelyTraverseLayoutEffects (react-dom-client.development.js:13296)
commitLayoutEffectOnFiber (react-dom-client.development.js:12291)
recursivelyTraverseLayoutEffects (react-dom-client.development.js:13296)
commitLayoutEffectOnFiber (react-dom-client.development.js:12291)
recursivelyTraverseLayoutEffects (react-dom-client.development.js:13296)
commitLayoutEffectOnFiber (react-dom-client.development.js:12187)
flushLayoutEffects (react-dom-client.development.js:17269)
commitRoot (react-dom-client.development.js:17106)
commitRootWhenReady (react-dom-client.development.js:16183)
performWorkOnRoot (react-dom-client.development.js:16087)
performWorkOnRootViaSchedulerTask (react-dom-client.development.js:17995)
performWorkUntilDeadline (scheduler.development.js:36)
```