[Pkg-javascript-devel] Bug#930634: Bug#930634: Build failures with rollup 0.56

Pirate Praveen praveen at onenetbeyond.org
Sun Sep 29 12:30:15 BST 2019


On Sat, 28 Sep 2019 23:16:06 +0530 Pirate Praveen
<praveen at onenetbeyond.org> wrote:
> 
> 
> On Sat, Sep 28, 2019 at 16:12, Xavier <yadd at debian.org> wrote:
> > help.pm is probably filtered. Overwrite in debian/nodejs/files
> 
> I think the root cause is incompatibility with rollup-plugin-string 
> (they want 2.x and we already have 3.x).
> 
> I did some ugly hacks to move forward and now I get
> 
> $ rollup -c
> /usr/share/nodejs/rollup/dist/rollup.js:6030
> exports.__esModule = true;
>                    ^
> 
> TypeError: Cannot assign to read only property '__esModule' of object 
> '#<Object>'
>     at Object.<anonymous> 
> (/usr/share/nodejs/rollup/dist/rollup.js:6030:20)
>     at Module._compile (internal/modules/cjs/loader.js:778:30)
>     at Object.Module._extensions..js 
> (internal/modules/cjs/loader.js:789:10)
>     at Module.load (internal/modules/cjs/loader.js:653:32)
>     at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
>     at Function.Module._load (internal/modules/cjs/loader.js:585:3)
>     at Module.require (internal/modules/cjs/loader.js:692:17)
>     at require (internal/modules/cjs/helpers.js:25:18)
>     at Object.<anonymous> 
> (/usr/share/nodejs/rollup/bin/src/run/loadConfigFile.js:5:14)
>     at Module._compile (internal/modules/cjs/loader.js:778:30)
> 
> 

These seems to be coming from node-vlq/node-magic-string, it should be
Object.defineProperty(exports, '__esModule', { value: true });



More information about the Pkg-javascript-devel mailing list