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

Uncaught SyntaxError: The requested module '/node_modules/fast-deep-equal/index.js?v=b4f8fdde' does not provide an export named 'default' (at index.esm.js?v=b4f8fdde:1:8) #148

Closed
luciendub opened this issue Sep 2, 2022 · 8 comments

Comments

@luciendub
Copy link

As soon as I add import VueGoogleMaps from '@fawmi/vue-google-maps' in the main.js file, an error is shown and the app breaks.

I already tried to remove and read the npm package. No success.

@hi-reeve
Copy link

hi-reeve commented Sep 2, 2022

this occured with the new version, try to downgrade the version and it will works

@tahaipek
Copy link

tahaipek commented Sep 2, 2022

Can you try again by adding the following lines in "vite.config.js"?

 optimizeDeps: {
    include: [
      "@fawmi/vue-google-maps",
      "fast-deep-equal",
    ],
  },

@hi-reeve
Copy link

hi-reeve commented Sep 3, 2022

ehy is this closed? is this solved?

@RustyJoeM
Copy link

RustyJoeM commented Sep 8, 2022

Observing the same issue (a bit different v=ABCDEFGH hashes of course) when i try to run with Quasar v2 framework, and initialize/import this map plugin inside it's boot files.

@mmKahal
Copy link

mmKahal commented Jan 8, 2023

Observing the same issue (a bit different v=ABCDEFGH hashes of course) when i try to run with Quasar v2 framework, and initialize/import this map plugin inside it's boot files.

For the Quasar v2 the following solution works:
NathanAP#4 (comment)
Make sure you change "vue-google-maps-community-fork" to "@fawmi/vue-google-maps"

@FalkoJoseph
Copy link

Can you try again by adding the following lines in "vite.config.js"?

 optimizeDeps: {
    include: [
      "@fawmi/vue-google-maps",
      "fast-deep-equal",
    ],
  },

This worked!

@PangiotisAndr
Copy link

Can you try again by adding the following lines in "vite.config.js"?

 optimizeDeps: {
    include: [
      "@fawmi/vue-google-maps",
      "fast-deep-equal",
    ],
  },

And form me worked!

@arikardnoir
Copy link

optimizeDeps: {
include: [
"@fawmi/vue-google-maps",
"fast-deep-equal",
],
},

This worked for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants