Apollo-client-devtools: Cannot read property 'getStore' of undefined

Created on 18 Mar 2020  路  18Comments  路  Source: apollographql/apollo-client-devtools

After updating to @apollo/[email protected] (latest), an error is thrown in the console on page load by this extension: Cannot read property 'getStore' of undefined.

It previously worked fine with beta.39.

As there are no source maps, here are some screenshots with the minified code and debugger watch frame:
image
image

Most helpful comment

Same here when updating to @apollo/client 3.0.0-beta.43

All 18 comments

Same here.

+1

Any updates?

Same problem here.

Same here. Latest version as well.

rolling back to beta 39 made it work for me again. The error was still in beta40.

Same here when updating to @apollo/client 3.0.0-beta.43

The same with @apollo/client 3.0.0-beta.44 :(

Also having intermittent issues with this

+1! @apollo/client@^3.0.0-beta.44

+1! @apollo/client@^3.0.0-beta.44 I had to revert to @apollo/client@^3.0.0-beta.39 in order to see my cache in Apollo Dev Tools

+1

beta 48 its still dead

I've created a temporary fork with a hacky workaround. https://github.com/noah-potter/apollo-client-devtools
I've only tested it against a simple app, so it might not work for all cases.

Relevant changes: https://github.com/noah-potter/apollo-client-devtools/commit/52d2b8924236bdb2d2472d761c6fbd1670351804

@use-strict Could you try out the latest release of the devtools (2.3.1) and let me know if that resolves the issue?

@use-strict Could you try out the latest release of the devtools (2.3.1) and let me know if that resolves the issue?

FWIW I'm on 3.0.0-beta.44 and 2.3.1 is working for me (previously broken as per the original post).

@use-strict Could you try out the latest release of the devtools (2.3.1) and let me know if that resolves the issue?

FWIW I'm on 3.0.0-beta.44 and 2.3.1 is working for me (previously broken as per the original post).

I can confirm it as well. Kudos to the developer 馃憤

Latest version works for me as well on 3.0.0-beta.53. Thanks!

Was this page helpful?
0 / 5 - 0 ratings