urql-graphql / urql-devtools

A tool for monitoring and debugging urql during development
https://formidable.com/open-source/urql/docs/advanced/debugging/#devtools
MIT License
257 stars 11 forks source link

[Runtime error]: Add support for Urql 2 #330

Closed yayvery closed 3 years ago

yayvery commented 3 years ago

About

None of my queries are showing up, and I'm getting this error when I go to the "Events" tab

Stack trace

TypeError: Cannot read property '0' of undefined
    at chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:8:38140
    at ht (chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:1200793)
    at e.generateAndInjectStyles (chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:1202428)
    at chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:1203759
    at jt (chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:1203826)
    at TimelineSourceIcon (chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:1204939)
    at qo (chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:1041137)
    at Ia (chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:1049093)
    at gs (chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:1089624)
    at cu (chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:1079924)
andyrichardson commented 3 years ago

Hey thanks for this report - I've a strong suspicion this is related to the new major update of Urql.

What version of Urql are you using?

yayvery commented 3 years ago

2.0.1 @andyrichardson

andyrichardson commented 3 years ago

Sounds about right - make sure you're on the latest version of @urql/devtools and your browser should update to the latest extension release soon 👍

If you're on Firefox, the fix is already out

Undistraction commented 3 years ago

@andyrichardson FWIW I've just installed the Firefox extension and I get nothing in any of the tabs. Looks like it connects to the exchange, then does nothing. All tabs are completely empty. Firefox 85.0.2 (64-bit)

andyrichardson commented 3 years ago

@Undistraction thanks for the report - that is an unrelated issue and a fix was just published (see #335 and v2.4.2)

andyrichardson commented 3 years ago

Quick update, there is new criteria on the chrome store that needed to be filled out prior to any new releases.

This is done and we're pending review.

Screen Shot 2021-02-18 at 13 35 55

Just a heads up, with the Chrome Web Store, reviews can take anything from a few hours to weeks.

Undistraction commented 3 years ago

@andyrichardson thanks for the update.

andyrichardson commented 3 years ago

2.4.2 is live!

Thanks everyone for your patience

Undistraction commented 3 years ago

@andyrichardson This is working for me. Thanks again.