Skip to content

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

Closed

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

  1. Repository owner locked and limited conversation to collaborators on Jun 21, 2021
  2. pinned this issue on Jun 21, 2021
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