-
Notifications
You must be signed in to change notification settings - Fork 3
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
Node version #12
Comments
Using Node.js 12.15.0 - here is the error upon running: internal/modules/cjs/loader.js:1025 throw new ERR_REQUIRE_ESM(filename); ^ Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: C:\Users\JimK.DAYHEATING\Documents\GitHub\Mjml-CSharp\Demo.MvcApp\bin\Release\netcoreapp3.1\Resources\mjmlFromString.mjs at Object.Module._extensions..mjs (internal/modules/cjs/loader.js:1025:9) at Module.load (internal/modules/cjs/loader.js:811:32) at Function.Module._load (internal/modules/cjs/loader.js:723:14) at Function.Module.runMain (internal/modules/cjs/loader.js:1043:10) at internal/main/run_main_module.js:17:11 { code: 'ERR_REQUIRE_ESM' } |
The currently installed node version on my dev machine is the v13.7.0 and it runs perfectly. Have you tried upgrading node ? |
What specific version of Node are you using? I've experimented with several 10 versions and a couple of 12 versions, and so far all have produced errors (although 10 produces different errors than 12).
The text was updated successfully, but these errors were encountered: