hex-digital / nuxt-datocms

A module for simplifying an advanced integration with DatoCMS. Simplifies getting and display content, draft previews, live update subscriptions, generating a sitemap, and more.
MIT License
7 stars 2 forks source link

Uncaught SyntaxError: The requested module does not provide an export named 'subscribeToQuery' #12

Open riccardobattiato opened 1 week ago

riccardobattiato commented 1 week ago

Hello, there is an error that appears in in fresh Nuxt projects where only this module has been installed, that also prevents the usage of the Nuxt DevTools:

Uncaught SyntaxError: The requested module '/_nuxt/node_modules/datocms-listen/dist/index.js?v=2713e29c' does not provide an export named 'subscribeToQuery' (at...

I solved this by overriding the versions of vue-datocms and datocms-listen to their respective latest versions, so I guess it's only a matter of upgrading the dependencies.

Let me know if you need me to elaborate more on this issue or if you're accepting PRs, as I see there are some of them open since some time.

Thank you!

Jamiewarb commented 1 week ago

Hey @riccardobattiato Thanks for the issue. Definitely accepting PRs—looking through these now, thanks