On Sun, Sep 29, 2019 at 17:19, Pirate Praveen
<prav...@onenetbeyond.org> wrote:
Control: block -1 by 933091
On Sun, Sep 29, 2019 at 17:00, Pirate Praveen
<prav...@onenetbeyond.org> wrote:
On Sat, 28 Sep 2019 23:16:06 +0530 Pirate Praveen
<prav...@onenetbeyond.org <mailto:prav...@onenetbeyond.org>> wrote:
On Sat, Sep 28, 2019 at 16:12, Xavier <y...@debian.org
<mailto:y...@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 });
node-vlq is not using rollup in its build process, and I also
noticed, rollup is run before tsc in upstream build process (that
explains why I had to do many ugly hacks in the build process). So
ideally we should fix node-rollup-plugin-typescript to move forward
(to avoid even more hacks).
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)