[Pkg-javascript-devel] <DKIM> Re: Help needed on rollup

Pirate Praveen praveen at onenetbeyond.org
Tue Dec 27 06:14:02 UTC 2016


On തിങ്കള്‍ 26 ഡിസംബര്‍ 2016 07:47 വൈകു, Paolo Greppi wrote:
> I can reproduce this, tried to debug by spinkling console.log
> statements, and got lost somewhere when it loads the rollup.config.js
> 
> Sorry I can't help more

After include src directory (my personal repo updated with new package)
and updating to nodejs 6.9.2 in experimental, the error is more verbose now

$ /usr/bin/rollup -c
TypeError: Cannot read property 'id' of undefined
    at basename (/usr/lib/nodejs/rollup/src/Module.js:226:30)
    at Module.basename (/usr/lib/nodejs/rollup/src/Module.js:226:16)
    at ExportDefaultDeclaration.initialise
(/usr/lib/nodejs/rollup/src/ast/nodes/ExportDefaultDeclaration.js:10:107)
    at enhance (/usr/lib/nodejs/rollup/src/ast/enhance.js:26:8)
    at Module.analyse (/usr/lib/nodejs/rollup/src/Module.js:208:2)
    at new Module (/usr/lib/nodejs/rollup/src/Module.js:87:8)
    at /usr/lib/nodejs/rollup/src/Bundle.js:272:20
    at process._tickCallback (internal/process/next_tick.js:103:7)
    at Module.runMain (module.js:606:11)
    at run (bootstrap_node.js:394:7)

Using tracegl (https://github.com/traceglMPL/tracegl)I get this error
(launched using nodejs ../tracegl/tracegl.js /usr/bin/rollup -c)

Parse error instrumenting /usr/lib/nodejs/rollup/dist/rollup.js
SyntaxError: Unexpected token (62:18)

I can't make much out of other outputs though. May be someone who know
javascript can make better inference.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20161227/4712dc5d/attachment.sig>


More information about the Pkg-javascript-devel mailing list