vue-google-maps: Requested module 'fast-deep-equal' does not provide an export named 'default'

Describe the bug With version 0.9.79, there is something broken related to default exports, as I’m receiving this message in the console that breaks everything in my app: The requested module '/node_modules/fast-deep-equal/index.js?v=dfdb27d1' does not provide an export named 'default'

It is fixed once I downgraded to 0.9.67

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Reactions: 24
  • Comments: 25

Most upvoted comments

Same here. Can’t get it to work anymore. Not even with downgrading. Did that work for anybody else? How did you downgrade exactly?

Downgrade to v0.9.67, you just need to set the exact version in your package.json, delete the node_modules directory and run npm install again.

I have the same issue with Nuxt 3.0.0-rc.10 & package v0.9.79. Tried to downgrade to 0.9.67 but same issue. As @mrc-bsllt mentioned, this works in production but not locally. Any lead on that ?

Try fixing the version, this way : "@fawmi/vue-google-maps": "0.9.67"

This process worked :

  • removed node_modules and the yarn lock file
  • changed the version to what you said in the package.json file
  • installed the package and ran the site again

Thanks !

I’m using Vite 3.1.3. This solution worked for me.

Its working in v3.1.3 for me as well, thank you so much!

Is it confirmed that it is this the expected behavior? I believe we need a confirmation by @fawmi that this repo is still being maintaned. This was the best Google Maps repo I found and it would be awesome if you guys keep it up with it.

I have the same issue with Nuxt 3.0.0-rc.10 & package v0.9.79. Tried to downgrade to 0.9.67 but same issue. As @mrc-bsllt mentioned, this works in production but not locally. Any lead on that ?

Try fixing the version, this way : "@fawmi/vue-google-maps": "0.9.67"

Thank you. Worked for me πŸ˜ƒ

Follow below process

  1. npm uninstall @fawmi/vue-google-maps
  2. npm install -S @fawmi/vue-google-maps@0.9.67

Is it possible to sponsor the development somehow?

I’m using Vite 3.1.3. This solution worked for me.

Can you try this solution #148 (comment)

Worked for me, thanks.

Can you try this solution #148 (comment)

I can confirm this fixes the problem, thank you.

@tahaipek with vite 3 don’t work

I have the same issue with Nuxt 3.0.0-rc.10 & package v0.9.79. Tried to downgrade to 0.9.67 but same issue. As @mrc-bsllt mentioned, this works in production but not locally. Any lead on that ?

Try fixing the version, this way : "@fawmi/vue-google-maps": "0.9.67"

This process worked :

  • removed node_modules and the yarn lock file
  • changed the version to what you said in the package.json file
  • installed the package and ran the site again

Thanks !

My problem was that I had not removed β€˜^’ from the package version. I changed this β€œ@fawmi/vue-google-maps”: β€œ^0.9.67” for this β€œ@fawmi/vue-google-maps”: β€œ0.9.67”, and it works!

Really hope that Fawmi keeps this maintained, this package is the best to manipulate maps I found so far.