You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this a BUG or a FEATURE REQUEST?:
Feature Request (or bug?)
What happened:
Unable to run .mjs file, error is:
(function (exports, require, module, __filename, __dirname) { import fs from "fs";
^^
SyntaxError: Unexpected identifier
at new Script (vm.js:73:7)
at createScript (vm.js:245:10)
at Object.runInThisContext (vm.js:297:10)
at Module._compile (internal/modules/cjs/loader.js:657:28)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
...
What you expected to happen:
Not dat
How to reproduce it (as minimally and precisely as possible):
Create index.mjs:
Is this a BUG or a FEATURE REQUEST?:
Feature Request (or bug?)
What happened:
Unable to run
.mjs
file, error is:What you expected to happen:
Not dat
How to reproduce it (as minimally and precisely as possible):
Create
index.mjs
:Bundle with:
Environment
Edit: I'm using pre-built
v10.9.0
binary from releasesThe text was updated successfully, but these errors were encountered: