On 2019, ജൂലൈ 25 4:10:32 PM IST, Pirate Praveen <prav...@onenetbeyond.org> 
wrote:
>And it works! I was able to build node-d3-time with this version of
>rollup.
>
>Check esm branch on salsa.

I tried changing back require to import for locate-character after shipping ES 
module (please build node-locate-character  git master) but got this error.

Can some one try to reproduce this?

$ rollup (node:18808) ExperimentalWarning: The ESM module loader is 
experimental.                        
file:///usr/lib/nodejs/rollup/src/Module.js:5
import { locate } from 'locate-character';               ^^^^^^                 
                SyntaxError: The requested module 'locate-character' does not 
provide an export named 'locate'      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)

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to