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

Pirate Praveen praveen at debian.org
Tue Mar 28 05:33:22 UTC 2017


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)
>
> Could you open a bug ?
>
> 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.


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


More information about the Pkg-javascript-devel mailing list