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

2017-03-28 Thread Pirate Praveen
On Tuesday 28 March 2017 12:32 PM, Andreas Tille wrote:
> 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?


You can try and troubleshoot the errors in current babel packages. I
have uploaded them in people.debian.org/~praveen/babel

This is bootstrapping effort.

1. Build babel using npm provided rollup
2. Build rollup using npm provided babel
3. Try rebuilding babel using the rollup deb

We are currently failing here as there are more dependencies in the
equation like babylone which complicates this equation.

I think we will need to include node_modules directory as part of the
deb we create in the first iteration as some of the packaged
dependencies like acorn seems to be not working correctly.



signature.asc
Description: OpenPGP digital signature
-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

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

2017-03-28 Thread Andreas Tille
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. (/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
> #84 (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

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel


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

2017-03-27 Thread Pirate Praveen
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. (/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
#84 (ITP for babel) and its complicated as it has a circular
dependency on rollup.




signature.asc
Description: OpenPGP digital signature
-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

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

2017-03-27 Thread Jérémy Lal
2017-03-27 17:08 GMT+02:00 Andreas Tille :

../..

> Error: Cannot find module '../dist/cjs/handlebars'
> at Object. (/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. (/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


-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel