Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR object is not iterable (cannot read property Symbol(Symbol.iterator)) #12329

Closed
jankaderabek opened this issue Oct 21, 2021 · 3 comments
Closed
Assignees

Comments

@jankaderabek
Copy link

jankaderabek commented Oct 21, 2021

Environment


  • Operating System: Darwin
  • Node Version: v16.11.1
  • Nuxt Version: 3.0.0-27247403.694e95b
  • Package Manager: npm
  • Bundler: Vite
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Describe the bug

There is and error after npm run dev with modified package.json:

jankaderabek@Jan-MacBook-Pro-2 nuxt3-async-data-ssr-error % npm run dev

> dev
> nuxt dev


Nuxt CLI v3.0.0-27247403.694e95b                                      21:34:35

 ERROR  object is not iterable (cannot read property Symbol(Symbol.iterator))

  at new Set (<anonymous>)
  at node_modules/nuxi/dist/chunks/dev.mjs:4424:20
  at ModuleJob.run (node:internal/modules/esm/module_job:183:25)
  at async Loader.import (node:internal/modules/esm/loader:178:24)
  at async _main (node_modules/nuxi/dist/chunks/index.mjs:395:17)

Reproduction

https://stackblitz.com/edit/github-hfd1pl?file=package.json

Additional context

No response

Logs

No response

@pi0
Copy link
Member

pi0 commented Oct 21, 2021

Seems a regression of unjs/unbuild@562e4d1 with nuxi bundle

pi0 referenced this issue in unjs/unbuild Oct 21, 2021
@pi0
Copy link
Member

pi0 commented Oct 21, 2021

Thanks for reporting. Should be solved shortly in next nuxi release

@jankaderabek
Copy link
Author

Thank you for your work on nuxt framewrok 👍

@danielroe danielroe added the 3.x label Jan 19, 2023
@danielroe danielroe transferred this issue from nuxt/framework Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants