Skip to content

error ERR_REQUIRE_ESM following instructions in Getting Started #433

Description

@amkhlv

Following instructions in Getting Started results in:

Error [ERR_REQUIRE_ESM]: require() of ES Module purescript-book/exercises/chapter2/output/Test.Main/index.js from purescript-book/exercises/chapter2/.spago/run.js not supported.
Instead change the require of index.js in purescript-book/exercises/chapter2/.spago/run.js to a dynamic import() which is available in all CommonJS m
odules.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions