[Pkg-javascript-devel] libjs-handlebars: How to get /usr/lib/nodejs/handlebars/dist/cjs/handlebars.js?

Andreas Tille tille at debian.org
Tue Mar 28 07:02:17 UTC 2017


Hi Pirate,

On Tue, Mar 28, 2017 at 11:03:22AM +0530, Pirate Praveen wrote:
> On Monday 27 March 2017 10:07 PM, Jérémy Lal wrote:
> > That's simply a bug in node-handlebars:
> > ~$ node
> >> require('handlebars')
> > Error: Cannot find module '../dist/cjs/handlebars'
> >     at Function.Module._resolveFilename (module.js:325:15)
> >     at Function.Module._load (module.js:276:25)
> >     at Module.require (module.js:353:17)
> >     at require (internal/module.js:12:17)
> >     at Object.<anonymous> (/usr/lib/nodejs/handlebars/lib/index.js:7:18)
> >     at Module._compile (module.js:409:26)
> >     at Object.Module._extensions..js (module.js:416:10)
> >     at Module.load (module.js:343:32)
> >     at Function.Module._load (module.js:300:12)
> >     at Module.require (module.js:353:17)
> >
> > Jérémy
> >
> We need to complete babel packaging to be able to generate that.
> Currently the purpose of node-handlebars package to simply provide
> source corresponding to ruby-handlebars-assets package (which is in
> contrib because we are not building it in debian, having node-handlebars
> allows it to be in contrib as opposed to non-free). See #853176, and
> #842222 (ITP for babel) and its complicated as it has a circular
> dependency on rollup.

As far as I can see finalising babel is the first step, right?  Do you
need any help a JavaScript illiteral Debian packager could provide?

Kind regards

       Andreas.

-- 
http://fam-tille.de



More information about the Pkg-javascript-devel mailing list