Skip to content

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

Description

@ehmicky

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions