good-idea / sane-shopify

MIT License
212 stars 15 forks source link

‘Shopify’ tool crashed with sanity 2.0 #123

Closed sndrgb closed 3 years ago

sndrgb commented 3 years ago

Hi @good-idea,

I update sanity packages from 1.150.5 to 2.0.4 and now the shopify tab gave me this:

Screenshot 2020-10-15 at 18 37 31

Error: No context provided for reporter. Make sure that the component calling "useReporter(field-, ...)", is wrapped in a <Tracker> element
    at useReporterGuard (/static/js/app.bundle.js:231350:9)
    at http://localhost:3333/static/js/app.bundle.js:231448:7
    at commitHookEffectListMount (/static/js/vendor.bundle.js:23231:26)
    at commitLifeCycles (/static/js/vendor.bundle.js:23287:9)
    at commitLayoutEffects (/static/js/vendor.bundle.js:26301:7)
    at HTMLUnknownElement.callCallback (/static/js/vendor.bundle.js:3655:14)
    at Object.invokeGuardedCallbackDev (/static/js/vendor.bundle.js:3704:16)
    at invokeGuardedCallback (/static/js/vendor.bundle.js:3759:31)
    at commitRootImpl (/static/js/vendor.bundle.js:26039:9)
    at unstable_runWithPriority (/static/js/vendor.bundle.js:29259:12)

Any ideas? Can I help?

Thanks in advance

good-idea commented 3 years ago

I'll have a fix coming shortly! in the meantime, the only option is to downgrade your sanity installation to 1.x

liqueflies commented 3 years ago

Any updates on this?

good-idea commented 3 years ago

@liqueflies apologies, I'm a little behind! I was going to include it in a larger refactor, but that's taking more time than expected so i'll make a standalone patch in the meantime. I'll ping you here when it's up.

good-idea commented 3 years ago

Fixed in 0.18.0!