vue-google-maps icon indicating copy to clipboard operation
vue-google-maps copied to clipboard

Requested module 'fast-deep-equal' does not provide an export named 'default'

Open dmoyadev opened this issue 2 years ago • 25 comments

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

dmoyadev avatar Sep 16 '22 07:09 dmoyadev

Same here, I'm getting this error after making a npm update to 0.9.79

NathanAP avatar Sep 20 '22 12:09 NathanAP

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

joshhammer avatar Sep 21 '22 13:09 joshhammer

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.

NathanAP avatar Sep 21 '22 13:09 NathanAP

It does not even work for me with version v0.9.67 (Nuxt 3 3.0.0-rc.11). I also tried adding @googlemaps/markerclusterer in the nuxt.config.ts transpile.

nuxt.config.ts

build: {
  extractCSS: true,
  transpile: ['swiper', 'shipit-cli', '@fawmi/vue-google-maps', '@googlemaps/markerclusterer']
}

Does anyone know how to do this?

EDIT: this problem only exists locally, in production everything works fine!

mrc-bsllt avatar Sep 26 '22 14:09 mrc-bsllt

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 ?

wasitum avatar Sep 29 '22 13:09 wasitum

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"

zakariamehbi avatar Oct 02 '22 12:10 zakariamehbi

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 !

wasitum avatar Oct 04 '22 10:10 wasitum

hi @fawmi what is the package maintenance status?

reslear avatar Oct 04 '22 10:10 reslear

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

NathanAP avatar Oct 04 '22 11:10 NathanAP

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!

mrc-bsllt avatar Oct 04 '22 11:10 mrc-bsllt

Can you try this solution https://github.com/fawmi/vue-google-maps/issues/148#issuecomment-1235143844

tahaipek avatar Oct 04 '22 15:10 tahaipek

@tahaipek with vite 3 don't work

reslear avatar Oct 04 '22 16:10 reslear

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

tahaipek avatar Oct 04 '22 16:10 tahaipek

Can you try this solution #148 (comment)

I can confirm this fixes the problem, thank you.

Giuseppetm avatar Oct 05 '22 08:10 Giuseppetm

Is it possible to sponsor the development somehow?

reslear avatar Oct 05 '22 09:10 reslear

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.

NathanAP avatar Oct 06 '22 20:10 NathanAP

I agree with you too, @NathanAP . I hope @fawmi continues to developed this package.

tahaipek avatar Oct 07 '22 14:10 tahaipek

Can you try this solution #148 (comment)

Worked for me, thanks.

gbrian avatar Jan 18 '23 12:01 gbrian

Thank you so much for the solution. Worked for me.

rafidgotit avatar Apr 16 '23 07:04 rafidgotit

Can you try this solution #148 (comment)

Worked for me, thanks.

perfect, it worked for me too.

josuelrocha avatar May 04 '23 20:05 josuelrocha

Thank you. Worked for me :)

Follow below process

  1. npm uninstall @fawmi/vue-google-maps
  2. npm install -S @fawmi/[email protected]

fenghsu avatar Jul 12 '23 14:07 fenghsu

Guys, please read https://github.com/fawmi/vue-google-maps/issues/159

NathanAP avatar Jul 12 '23 14:07 NathanAP

#159

This worked for me as well.

Thanks!

bchewy avatar Oct 03 '23 05:10 bchewy

Does not work with Vite 4.2.0

mydaycare-carefree avatar Dec 23 '23 22:12 mydaycare-carefree

Screenshot from 2024-04-27 03-24-22

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 !

This worked for me but the map details are hidden give the attached SS a look "@fawmi/vue-google-maps": "0.9.67", "nuxt": "^3.11.2",

Attar74 avatar Apr 27 '24 00:04 Attar74