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

I added (import VueGoogleMaps from "@fawmi/vue-google-maps") at the main.js file and the application breaks #198

Closed
psalmistcom opened this issue Sep 13, 2023 · 3 comments

Comments

@psalmistcom
Copy link

The requested module '/node_modules/fast-deep-equal/index.js?v=848aeb3e' does not provide an export named 'default'

@will-lucena
Copy link

+1

node version: 18.17.1

@will-lucena
Copy link

@psalmistcom I've searched in the other issues and found @tahaipek's solution in #148 and it worked for me:

add it in your vite.config.js

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

@psalmistcom
Copy link
Author

@will-lucena thanks for your response. I've actually done this and still not work.

I have to downgrade my Vue app and the package. Then delete the node_modules and reinstall it before it works.

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

2 participants