[Pkg-javascript-devel] Bug#932961: node-acorn: ES module is broken
Pirate Praveen
praveen at onenetbeyond.org
Thu Jul 25 08:26:00 BST 2019
Package: node-acorn
Version: 5.5.3+ds3-3
Severity: important
When trying to use ES module version of rollup,
$ node --experimental-modules bin/src/index.js (node:19235) ExperimentalWarning: The ESM module loader is experimental. file:///home/praveen/forge/node-rollup/src/Module.js:1 import { parse } from 'acorn'; ^^^^^ SyntaxError: The requested module 'acorn' does not provide an export named 'parse' at ModuleJob._instantiate (internal/modules/esm/module_job.js:93:21) at async ModuleJob.run (internal/modules/esm/module_job.js:108:20) at async Loader.import (internal/modules/esm/loader.js:134:24)
It seems the shipped ES module is broken.
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20190725/0718f8c7/attachment.html>
More information about the Pkg-javascript-devel
mailing list