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 following instructions in Getting Started #433

Open
amkhlv opened this issue Apr 15, 2023 · 1 comment
Open

error ERR_REQUIRE_ESM following instructions in Getting Started #433

amkhlv opened this issue Apr 15, 2023 · 1 comment

Comments

@amkhlv
Copy link

amkhlv commented Apr 15, 2023

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.
@Zelenya
Copy link

Zelenya commented Jun 19, 2023

Is it still the case? Did you find a solution for it by any chance?

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

No branches or pull requests

2 participants