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

Vue 3 - ambiguous indirect export: default #193

Open
sergiuwaxmann opened this issue Jul 16, 2023 · 4 comments
Open

Vue 3 - ambiguous indirect export: default #193

sergiuwaxmann opened this issue Jul 16, 2023 · 4 comments

Comments

@sergiuwaxmann
Copy link

Hello,

I am trying to use this package in a Vue 3 (Vite) TS application but I have this error:
Uncaught SyntaxError: ambiguous indirect export: default

After installing the package (npm install -S @fawmi/vue-google-maps), I added the following to my main.ts file:

import VueGoogleMaps from "@fawmi/vue-google-maps";

app.use(VueGoogleMaps, {
  load: {
    key: "MY_API_KEY",
    libraries: "places"
  }
});

When trying to start the application (npm run dev), I get the error mentioned above in the Console.

Vue: ^3.3.4
Vite: ^4.3.9
TypeScript: ~5.0.4

@Dmytro-Tihunov
Copy link

same here ((

@CleoMenezesJr
Copy link

Same here

@msunay
Copy link

msunay commented Jul 26, 2023

I also get this error

@mercExec
Copy link

mercExec commented Aug 5, 2023

Have you checked out this issue? #148
I just started using this package and had the same problem and the solution in above mentioned issue 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

5 participants