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

Module Support import Issue #58

Open
ghost opened this issue Mar 2, 2024 · 0 comments
Open

Module Support import Issue #58

ghost opened this issue Mar 2, 2024 · 0 comments

Comments

@ghost
Copy link

ghost commented Mar 2, 2024

Modern ES Modules are the standard for node environments, etc.

This does not work:

import Geotab from "mg-api-js";

This does work:

import * as Geotab from "mg-api-js";

Perhaps the README.md, etc., should reflect this? I'm not entirely sure what is going on with the default export but there seems to be a collision of sorts.

@ghost ghost changed the title Module Support is Lacking Module Support import Issue Mar 2, 2024
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

0 participants