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

Pirate Praveen praveen at onenetbeyond.org
Mon Sep 30 08:45:49 BST 2019



On Sun, Sep 29, 2019 at 18:08, Pirate Praveen 
<praveen at onenetbeyond.org> wrote:
> Fixed this by a sed command, and now we get
> 
> $ rollup --help
> /usr/share/nodejs/rollup/bin/src/rollup:15
> var command = minimist_1.default(process.argv.slice(2), {
>                                 ^
> 
> TypeError: minimist_1.default is not a function
>     at /usr/share/nodejs/rollup/bin/src/rollup:15:33
>     at Object.defineProperty.value 
> (/usr/share/nodejs/rollup/bin/src/rollup:3:65)
>     at Object.<anonymous> 
> (/usr/share/nodejs/rollup/bin/src/rollup:6:2)
>     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 Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
>     at startup (internal/bootstrap/node.js:283:19)
> 

This is fixed by tsc --esModuleInterop

And now modified build to directly use the tsc output and there by 
removing the circular build dependency on rollup and its plugins 
(browser entry is still built by rollup but that could be fixed 
easily). I could now rebuild rollup using the built rollup. I will 
clean up the commits and upload this to experimental now.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20190930/dd621a03/attachment.html>


More information about the Pkg-javascript-devel mailing list