37-5b82c79181d94cdf.js:1 Uncaught (in promise) TypeError: number 0 is not iterable (cannot read property Symbol(Symbol.iterator))
See original GitHub issueVerify canary release
- I verified that the issue exists in the latest Next.js canary release
Provide environment information
Binaries: Node: 16.17.0 npm: N/A Yarn: N/A pnpm: N/A Relevant packages: next: 12.3.1 eslint-config-next: 12.3.1 react: 18.2.0 react-dom: 18.2.0
What browser are you using? (if relevant)
chrome 105.0.5195.127
How are you deploying your application? (if relevant)
next start,vercel, netlify
Describe the Bug
When i use next start
or use vercel/netlify to deploy my website,i got an error in console.
When i switch next.js
to version 12.3.0
,it does’t have any error.
Expected Behavior
no error.
Link to reproduction
https://codesandbox.io/s/github/tohsaka888/coder-home
To Reproduce
first, build the application.
run next start
.
see the console, it will have an error.
click, this button.
it will have another error.
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:11 (5 by maintainers)
Top Results From Across the Web
TypeError: undefined is not iterable (cannot read property ...
check all the brackets used in the code at specified line number.e.g.: in my case this was throwing error -
Read more >TypeError: 'x' is not iterable - JavaScript - MDN Web Docs
The JavaScript exception "is not iterable" occurs when the value which is given as ... object is not iterable (cannot read property Symbol(Symbol.iterator))...
Read more >typeerror: object is not iterable (cannot read property symbol ...
I'm using my snippets but my bot crashes and says this: Error: TypeError: object null is not iterable (cannot read property Symbol(Symbol.iterator)) at...
Read more >TypeError: undefined is not iterable in JavaScript | bobbyhadz
The error undefined is not iterable occurs when we try to use array destructuring with an undefined value to the right-hand side, e.g....
Read more >Uncaught TypeError: object is not iterable (cannot read ...
As the obj is not an iterable, the spread syntax throws the above error. ... is not iterable (cannot read property Symbol (Symbol.iterator))....
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 Free
Top 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
Thanks! I could now confirm that the issue is fixed on the latest
canary
release! You can test it by runningnpm i next@canary
, or wait for the fix to appear in thelatest
release.@balazsorban44 I create a new repo to reproduce the error.Just use antd Menu component then i
build
this project andstart
it,you will see the error in console.