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

Infinite warn and memory crash when updating nuxt from 3.10 to 3.11 #27130

Open
gsabater opened this issue May 9, 2024 · 2 comments · May be fixed by #27309
Open

Infinite warn and memory crash when updating nuxt from 3.10 to 3.11 #27130

gsabater opened this issue May 9, 2024 · 2 comments · May be fixed by #27309

Comments

@gsabater
Copy link

gsabater commented May 9, 2024

Environment


  • Operating System: Windows_NT
  • Node Version: v18.17.1
  • Nuxt Version: 3.11.2
  • CLI Version: 3.11.1
  • Nitro Version: 2.9.6
  • Package Manager: npm@9.6.7
  • Builder: -
  • User Config: experimental, typescript, components, modules, imports, css, build, content, app,
    site, sitemap, schemaOrg, webpack, vite, sourcemap, devtools
  • Runtime Modules: @nuxt/content@2.12.1, @nuxt/devtools@1.2.0, @nuxtjs/seo@2.0.0-rc.10, @vueuse/nuxt@10.9.0, @pinia/nuxt@0.5.1
  • Build Modules: -

Reproduction

Describe the bug

The console shows the following warning more than 100.000 times until it crashes and the tab must be closed.
This happens on either Edge or Chrome

Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead.

image

Additional context

As stated, this does not happen in nuxt 3.10 and starts happening on nuxt 3.11
Also, this does not happen if the code contains no errors. But once the console should show an error for an undefined method or undefined var, it starts crashing

Tests made without success

  • Disabling vue devtools and other chrome extensions
  • Reducing the default layout and pages/index.vue to the bare minimum
  • Removing all plugins, stores and utils
  • Removing .nuxt cache folder
  • Returning to default port and remove --host

Logs

No response

Copy link
Member

Thanks for the report!

For now, you can work around by setting features.devLogs to false.

@gsabater
Copy link
Author

gsabater commented May 9, 2024

It's amazing; I wasn't aware that I could disable this feature since I hadn't read the blog post. Thank you for your time, and I apologize for any inconvenience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants