-
Notifications
You must be signed in to change notification settings - Fork 64
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
Remix support #821
Comments
If you would like to upvote the priority of this issue, please comment below or react on the original post above with 👍 so we can see what is popular when we triage.@mikecousins Thank you for opening this issue. 🙏
This is an automated message, feel free to ignore. |
@mikecousins you can put |
@ahockersten that's not available in certain Remix setups like Vite/SPA mode. |
Here's a good linter you can use to help fix the package: https://publint.dev/@googlemaps/js-api-loader |
Until this is properly fixed, this worked for me:
|
I'm using it all the time with exactly this An interesting point is, the error-message says I'm not sure if there is anything we can do about this, since it has probably something to do with the configuration of the bundler. |
Not sure about support at the time of your reply, but it's possible with Vite/SPA mode https://remix.run/docs/en/main/guides/spa-mode#cjsesm-dependency-issues |
Getting this error using Remix/ESM. Any idea how to get around this? The suggested config changes for nuxt/svelte don't work in Remix.
The text was updated successfully, but these errors were encountered: