Alberto -- thanks again for reporting the problem. I made sure raptor-compare works with both Node.js 0.10 and 0.12 and published vresion 0.2.1.
On Tue, Oct 20, 2015 at 5:07 PM, Alberto Pastor <[email protected]> wrote: > Yeah, that was the case. > > Using nvm for switching between 0.12 and 4 for running both tools solved > the problem. > > Thanks! > > On 20 Oct 2015, at 15:38, Eli Perelman <[email protected]> wrote: > > I'm assuming this has to do with the Node version mismatches. Most of Gaia > needs Node.js 0.10 for its dependencies, while Raptor uses 0.12. The > raptor-compare tool from what I recall needs Node.js 4. Definitely not an > ideal situation, and I hope that soon we can converge our tooling on Node > 4. In the meantime, several of us use version managers like "n" to overcome > this problem: > > https://www.npmjs.com/package/n > > Thanks, > > Eli Perelman > > On Tue, Oct 20, 2015 at 4:34 AM, Alberto Pastor <[email protected]> > wrote: > >> $ raptor -v >> 3.1.0 >> >> :S >> > On 20 Oct 2015, at 11:32, [email protected] wrote: >> > >> > On Tuesday, October 20, 2015 at 11:04:29 AM UTC+2, Alberto Pastor wrote: >> >> That sounds great! >> >> >> >> I've tried to follow the steps, but when running raptor-compare I got >> >> >> >> $ raptor-compare ./metrics.ldjson >> >> [TypeError: undefined is not a function] >> >> >> >> Is there anything I can attach to make more clear what's going wrong? >> > >> > One reason you may see this is if you use old raptor. Please, upgrade >> your raptor to 3.1.0. >> > >> > Raptors before 3.1.0 were using an old statistic ('p95%') which we >> since then updated to '95% Bound'. >> > >> > Except of that, I have no idea why would it not work in node 4.x :( >> > >> > zb. >> > _______________________________________________ >> > dev-fxos mailing list >> > [email protected] >> > https://lists.mozilla.org/listinfo/dev-fxos >> >> _______________________________________________ >> dev-fxos mailing list >> [email protected] >> https://lists.mozilla.org/listinfo/dev-fxos >> > > > > _______________________________________________ > dev-fxos mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-fxos > >
_______________________________________________ dev-fxos mailing list [email protected] https://lists.mozilla.org/listinfo/dev-fxos

