← All tasks
javascriptmoment/luxon #252Not a task: not reproduced

Not working with ESM on Node 10

envgap__moment__luxon-252

01 / FAILURE SIGNATURE

As reported upstream

SyntaxError: The requested module 'luxon' does not provide an export named 'DateTime'
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
6b47f20da7386526346d7d42138cd05820791492
Manifest
package.json
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

moment/luxon #252 · read the original issue
Hey, any chance to have luxon work with Node ESM modules?



```

import { DateTime } from 'luxon';

           ^^^^^^^^

SyntaxError: The requested module 'luxon' does not provide an export named 'DateTime'

at ModuleJob._instantiate (internal/modules/esm/module_job.js:89:21)

```

Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]