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

Jérémy Lal kapouer at melix.org
Mon Mar 27 16:37:28 UTC 2017


2017-03-27 17:08 GMT+02:00 Andreas Tille <andreas at an3as.eu>:

../..

> Error: Cannot find module '../dist/cjs/handlebars'
>     at Object.<anonymous> (/usr/lib/nodejs/handlebars/lib/index.js:7:18)
>

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




More information about the Pkg-javascript-devel mailing list