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

Error [ERR_REQUIRE_ESM]: Must use import to load ES Module #3

Closed
ehmicky opened this issue Jun 21, 2021 · 0 comments
Closed

Error [ERR_REQUIRE_ESM]: Must use import to load ES Module #3

ehmicky opened this issue Jun 21, 2021 · 0 comments

Comments

@ehmicky
Copy link
Owner

ehmicky commented Jun 21, 2021

This package uses ES modules. If you're seeing the following error message:

Error [ERR_REQUIRE_ESM]: Must use import to load ES Module

This means you're using require() to load this package. An import or import() statement should be used instead. For more information, see this blog post.

Repository owner locked and limited conversation to collaborators Jun 21, 2021
@ehmicky ehmicky pinned this issue Jun 21, 2021
@ehmicky ehmicky closed this as completed Jun 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant