Menu don't work in nextjs 12.3.1
See original GitHub issueReproduction link
https://github.com/ccdarvin/authcloud.git
Steps to reproduce
We have a menu in side left of page, when click in link display this:
Application error: a client-side exception has occurred (see the browser console for more information).
I had probed remove the Menu component, and problem is fixed
What is expected?
when you click on the link you should go to the other page
What is actually happening?
Display dis error
Application error: a client-side exception has occurred (see the browser console for more information).
in console show:
framework-7751730b10fa0f74.js:9 TypeError: number 0 is not iterable (cannot read property Symbol(Symbol.iterator))
at new Map (<anonymous>)
at 252-e9d1cab486ec2437.js:1:15175
at 252-e9d1cab486ec2437.js:1:13936
at eA (252-e9d1cab486ec2437.js:1:15154)
at w (252-e9d1cab486ec2437.js:1:12192)
at 252-e9d1cab486ec2437.js:1:12240
at uJ (framework-7751730b10fa0f74.js:9:91731)
at u1 (framework-7751730b10fa0f74.js:9:91927)
at o5 (framework-7751730b10fa0f74.js:9:112680)
at oQ (framework-7751730b10fa0f74.js:9:104018)
Error rendering page: Error: Cancel rendering route
at s (main-3bfbace5a300f221.js:1:20025)
at main-3bfbace5a300f221.js:1:19965
at new Promise (<anonymous>)
at ei (main-3bfbace5a300f221.js:1:19936)
at main-3bfbace5a300f221.js:1:17692
Environment | Info |
---|---|
antd | 4.23.6 |
React | 18.2.0 |
System | Windows 10 |
Browser | chrome 106.0.5249.119 |
This problem only occurs then run:
yarn build
yarn start
Issue Analytics
- State:
- Created a year ago
- Reactions:3
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Blog - Next.js 12.3
Open -source tooling that make local development and production builds faster. Claim your free ticket and see the future of Next.js and React ......
Read more >Advanced Features: Middleware - Next.js
Middleware allows you to run code before a request is completed, then based on the incoming request, you can modify the response by...
Read more >Advanced Features: Error Handling - Next.js
Error Handling. This documentation explains how you can handle development, server-side, and client-side errors. Handling Errors in Development.
Read more >Upgrade Guide - Next.js
However, upgrading to Next.js 13 does not require using the new app directory. You can continue using pages with new features that work...
Read more >Advanced Features: Custom `Document` - Next.js
Do not add application logic here or custom CSS (like styled-jsx ). If you need shared components in all your pages (like a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
already I have the solution.
it comment swrMinify or set in false
It is fixed on the latest nextjs canary release.
see more infomation