-
Notifications
You must be signed in to change notification settings - Fork 13
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
require is undefined #76
Comments
@ng-druid can you try with a newer version of the package or provide more information about your setup |
@DaSchTour require() is also being used inside agm-maps which is what has been working fine prior to upgrading to ng-maps. |
Can you try with the newest version? It doesn't use require anymore but the new import. |
@DaSchTour I switched to the newest version. Now receive another error. |
@DaSchTour The SnazzyInfoWindow class is the default export of the snazy-info-window package. new elems[0].default(options) Docs for referencing the default export using import. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/import |
Hello,
I have been working through an upgrade from agm maps to ng maps. The error below makes sense to me since require is meant to be used on the server not browser. On the browser import should be used. What am I missing…
Thanks
The text was updated successfully, but these errors were encountered: