[Pkg-javascript-devel] Bug#848858: Bug#848858: Error: 'Bundle' is not exported

Julien Puydt julien.puydt at laposte.net
Tue Dec 20 09:13:44 UTC 2016


Hi,

On 20/12/2016 10:06, Pirate Praveen wrote:
> package: node-magic-string, node-sourcemap-codec
> severity: important
>
> When I'm trying to build rollup, I get this error. I symlinked both from
> /usr/lib/nodejs to node_modules
>
> Error: 'Bundle' is not exported by node_modules/magic-string/index.js
> (imported by src/Bundle.js). For help fixing this error see
> https://github.com/rollup/rollup/wiki/Troubleshooting#name-is-not-exported-by-module
>
> Error: 'decode' is not exported by node_modules/sourcemap-codec/index.js
> (imported by src/Bundle.js). For help fixing this error see
> https://github.com/rollup/rollup/wiki/Troubleshooting#name-is-not-exported-by-module
>
> To reproduce this error, you can checkout node-rollup from alioth and
> uncomment lines that symlink these modules to node_modules and remove
> them from npm install in debian/rules.

The reason of those bugs is that the packages are supposed to be built 
using rollup, but I build them with compile-modules from 
node-es6-module-transpiler.

But we don't have rollup in Debian yet, and those packages are depends 
of rollup, so there's a dep loop to break, and that's what the current 
packages should be good for.

PP, you should get a look at my recent mail to pkg-javascript-devel.

Snark on #debian-js



More information about the Pkg-javascript-devel mailing list