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

fix: > v1.6.0 component tree not connecting on Firefox #760

Open
silvio-e opened this issue Dec 3, 2024 · 10 comments
Open

fix: > v1.6.0 component tree not connecting on Firefox #760

silvio-e opened this issue Dec 3, 2024 · 10 comments
Labels
bug Something isn't working

Comments

@silvio-e
Copy link

silvio-e commented Dec 3, 2024

πŸ› The bug

The component tree wouldn't load in Firefox for devtools above 1.6.0. This happens in all of my projects. On Stackblitz this happens also when when I'm opening the preview in a new tab but not in the default preview pane.

πŸ› οΈ To reproduce

https://stackblitz.com/edit/nuxt-starter-zdqhmz?file=nuxt.config.ts

🌈 Expected behavior

Expecting that it loads the component tree like in version 1.6.0

ℹ️ Additional context

No response

@silvio-e silvio-e added the bug Something isn't working label Dec 3, 2024
@antfu
Copy link
Member

antfu commented Dec 5, 2024

/cc @webfansplz do you have any idea on this?

@webfansplz
Copy link
Contributor

Hi @silvio-e, I can't reproduce the issue, can you provide more info?

Image

@FxOmar
Copy link

FxOmar commented Dec 6, 2024

I'm experiencing the same issue, and Pinia also remains stuck on the connecting screen.
Image

@jamols09
Copy link

jamols09 commented Dec 6, 2024

I can't even get to show the devtools on local whether true or false devtools: { enabled: true },

@webfansplz
Copy link
Contributor

I'm experiencing the same issue, and Pinia also remains stuck on the connecting screen. Image

Other features is working as expected? Can you provide a mini repo? Thanks.

@yjlin0224
Copy link

yjlin0224 commented Jan 5, 2025

Same problems here, component tree and pinia page are connecting forever.
Here is my repo to reproduce it: https://github.com/yjlin0224/nuxt-app


Update: I resolved after I disabled "Vue.js devtools" addon in my browser, both Firefox and Chrome work fine now. Thanks #690 (comment)

@silvio-e
Copy link
Author

silvio-e commented Jan 9, 2025

Same here, like for @yjlin0224 disabling Vue devtools resolved the problem for Nuxt Devtools.

But I guess it shouldn't happen?

@roseyda
Copy link

roseyda commented Jan 9, 2025

same here, just like suggested, disabling vue devtool extension in Chrome solved the issue

@bjorne84
Copy link

bjorne84 commented Jan 19, 2025

I'm experiencing this issue with an additional detail that might help debugging:

It gets stuck in http://localhost:3000/_nuxt/node_modules/@vue/devtools-kit/dist/index.js?v=174d22ef

on this line:

parse(string) {
  return this.deserialize(JSON.parse(string));
}

in this function:

  const { json, meta } = payload;
  let result = copy(json);
  if (meta == null ? void 0 : meta.values) {
    result = applyValueAnnotations(result, meta.values, this);
  }
  if (meta == null ? void 0 : meta.referentialEqualities) {
    result = applyReferentialEqualityAnnotations(result, meta.referentialEqualities);
  }
  return result;
}
stringify(object) {
  return JSON.stringify(this.serialize(object));
}
parse(string) {
  return this.deserialize(JSON.parse(string));
}

Environment:

Note: The related? issue with extraneous non-props attributes (#745) appeared at the same time but was resolved after upgrading Nuxt/Nitro/package manager.

@Mikaleb
Copy link

Mikaleb commented Jan 19, 2025

Bump too on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

9 participants