esm icon indicating copy to clipboard operation
esm copied to clipboard

Tomorrow's ECMAScript modules today!

Results 93 esm issues
Sort by recently updated
recently updated
newest added

I am getting a ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING error when using Nextjs 12.0.6 It fails in this file `/node_modules/next/dist/server/config.js` On this line `userConfigModule = await import((0, _url).pathToFileURL(path).href);` ``` Unhandled Rejection at: Promise {...

The simplest way I could find to fix #868 was to publish a fork. Please take a look at https://github.com/agoric-labs/esm/tree/Agoric#readme

I have suddenly started getting the following error: $ npm test > [email protected] test /home/travis/build/chrisveness/geodesy > mocha --exit -r esm test/*.js /home/travis/build/chrisveness/geodesy/node_modules/mocha/lib/mocha.js:1 Error [ERR_REQUIRE_ESM]: Must use import to load ES...

I tried to use worker threads or threads.js in my esm project but the `import` will not work in my worker thread file. Is it possible to use esm in...

### Details **esm-index.js** ``` require = require("esm")(module/*, options*/) module.exports = require("./tests/esm-test.js"); ``` **esm-test.js** ``` throw new Error(); ``` **Other Details** node version: `16.1.0` yarn version: `1.22.10` esm version: `3.2.25` `yarn...

I'm encountering a very strange error when using `esm` via `node -r esm main.js`. When my `main.js` file contains the following, everything works fine and "foo" is printed: ``` console.log(null...

with latest node (13.8.0) ``` // example.js let a a?.b ``` works with when running `node --harmony` but doesnot work with esm: `node --harmony -r esm example.js` ``` // example.js...

I'm not sure what the maintenance status is of esm, but for future readers, here's some notes on nyc related issues and workarounds with nyc v15, esm v3.2.25, and node...

Tenho esse código que estava no Github e não estou conseguindo rodar ele https://github.com/LuizFelipeNeves/Clawler-FreteBras Poderia ajudar...