[Pkg-javascript-devel] need help with building node-dagre-d3-renderer with webpack

Xavier yadd at debian.org
Tue Jun 25 08:55:22 BST 2019


Le 25/06/2019 à 09:52, Pirate Praveen a écrit :
> Control: tag -1 help
> 
> On Sat, 08 Jun 2019 20:48:32 +0500 Pirate Praveen
> <praveen at onenetbeyond.org> wrote:> This library is a dependency of
> gitlab. Since it uses babel and webpack
>> to generate ES5 code, it is not suitable for embedding.
> 
> With node-d3 in NEW/salsa (#801765), I get this error. d3-format and
> d3-scale is embedded in node-d3 and installed in
> /usr/lib/nodejs/d3/node_modules. Because of missing ES modules in
> node-d3-format (#930920) we cannot use the packaged version.
> 
> 
>     ERROR in /usr/lib/nodejs/d3/index.js
>     Module not found: Error: Can't resolve 'd3-format' in
> '/usr/lib/nodejs/d3'

Strange, it seems that webpack wants /usr/lib/nodejs/d3/d3-format



More information about the Pkg-javascript-devel mailing list