Skip to contentSkip to conversation

nodejs: newer npm?

DISCUSSION Gary Thomas 2 participants 8 messages Jul 13, 2016 – Jul 14, 2016

lore
Share & tools
lore
#0 lore raw

The current (at least 4.4.4) nodejs recipe also creates nodejs-npm which is npm version 2.15.1. I'm trying to run angularjs that needs npm >= 3.3.x. I've not yet tried the update to 4.4.5, so if this fixes the issue just let me know.

What needs to be done to get a newer npm?

BTW, the current one segfaults when trying to install the attached package file.

Thanks

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#1 lore raw
Quoted 9 lines · Gary Thomas

The current (at least 4.4.4) nodejs recipe also creates nodejs-npm which is npm version 2.15.1. I'm trying to run angularjs that needs npm >= 3.3.x. I've not yet tried the update to 4.4.5, so if this fixes the issue just let me know.

What needs to be done to get a newer npm?

BTW, the current one segfaults when trying to install the attached package file.

I have now tried nodejs-4.4.5 which has npm-2.15.5 It no longer segfaults on the install step, but it doesn't really work :-( Any access just returns 'Cannot GET /'

Anyone have suggestions on how I might debug this? It's a known
working (simple) application I got from https://angular.io/docs/ts/latest/quickstart.html

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#2 lore raw

I am currently using angular from a different meta layer.
https://github.com/imyller/meta-nodejs
It maintains newer versions of nodejs.
It might be something you want to try.

Quoted 18 lines · Gary Thomas
Quoted 9 lines · Gary Thomas

The current (at least 4.4.4) nodejs recipe also creates nodejs-npm which is npm version 2.15.1. I'm trying to run angularjs that needs npm >= 3.3.x. I've not yet tried the update to 4.4.5, so if this fixes the issue just let me know.

What needs to be done to get a newer npm?

BTW, the current one segfaults when trying to install the attached package file.

I have now tried nodejs-4.4.5 which has npm-2.15.5 It no longer segfaults on the install step, but it doesn't really work :-( Any access just returns 'Cannot GET /'

Anyone have suggestions on how I might debug this? It's a known working (simple) application I got from
https://angular.io/docs/ts/latest/quickstart.html

#3 lore raw
Quoted 4 lines · Michael

I am currently using angular from a different meta layer.
https://github.com/imyller/meta-nodejs
It maintains newer versions of nodejs.
It might be something you want to try.

I have tried this and yes, the versions are newer, but my simple example still does not work :-(

What target/platform are you using?
Any idea why there is a separate layer for something that is in a more mainstream (meta-oe) layer for the same things?

Quoted 21 lines · Gary Thomas
Quoted 18 lines · Gary Thomas
Quoted 9 lines

The current (at least 4.4.4) nodejs recipe also creates nodejs-npm which is npm version 2.15.1. I'm trying to run angularjs that needs npm >= 3.3.x. I've not yet tried the update to 4.4.5, so if this fixes the issue just let me know.

What needs to be done to get a newer npm?

BTW, the current one segfaults when trying to install the attached package file.

I have now tried nodejs-4.4.5 which has npm-2.15.5 It no longer segfaults on the install step, but it doesn't really work :-( Any access just returns 'Cannot GET /'

Anyone have suggestions on how I might debug this? It's a known working (simple) application I got from
https://angular.io/docs/ts/latest/quickstart.html

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#4 lore raw

I am building for intel core2-32 with an nginx backend.
I believe the layer exists to keep packages more closely aligned with the upstream project. I personally use it for the current 6.x releases of nodejs.

Quoted 32 lines · Gary Thomas
Quoted 4 lines · Michael

I am currently using angular from a different meta layer.
https://github.com/imyller/meta-nodejs
It maintains newer versions of nodejs.
It might be something you want to try.

I have tried this and yes, the versions are newer, but my simple example still does not work :-(

What target/platform are you using?
Any idea why there is a separate layer for something that is in a more mainstream (meta-oe) layer for the same things?

Quoted 19 lines · Gary Thomas
Quoted 18 lines · Gary Thomas
Quoted 9 lines

The current (at least 4.4.4) nodejs recipe also creates nodejs-npm which is npm version 2.15.1. I'm trying to run angularjs that needs npm >= 3.3.x. I've not yet tried the update to 4.4.5, so if this fixes the issue just let me know.

What needs to be done to get a newer npm?

BTW, the current one segfaults when trying to install the attached package file.

I have now tried nodejs-4.4.5 which has npm-2.15.5 It no longer segfaults on the install step, but it doesn't really work :-( Any access just returns 'Cannot GET /'

Anyone have suggestions on how I might debug this? It's a known working (simple) application I got from
https://angular.io/docs/ts/latest/quickstart.html

#5 lore raw
Quoted 4 lines · Michael

I am building for intel core2-32 with an nginx backend.
I believe the layer exists to keep packages more closely aligned with the upstream project. I personally use it for the current 6.x releases of nodejs.

Fair enough (although I believe that this should be only in one place).

That said, I'm having issues with very simple angularjs application. Any ideas how I might debug it? My target is ARM i.MX6Q (armv7-hardfp)?

Quoted 33 lines · Gary Thomas
Quoted 32 lines · Michael
Quoted 4 lines

I am currently using angular from a different meta layer.
https://github.com/imyller/meta-nodejs
It maintains newer versions of nodejs.
It might be something you want to try.

I have tried this and yes, the versions are newer, but my simple example still does not work :-(

What target/platform are you using?
Any idea why there is a separate layer for something that is in a more mainstream (meta-oe) layer for the same things?

Quoted 19 lines · Gary Thomas
Quoted 18 lines · Gary Thomas
Quoted 9 lines

The current (at least 4.4.4) nodejs recipe also creates nodejs-npm which is npm version 2.15.1. I'm trying to run angularjs that needs npm >= 3.3.x. I've not yet tried the update to 4.4.5, so if this fixes the issue just let me know.

What needs to be done to get a newer npm?

BTW, the current one segfaults when trying to install the attached package file.

I have now tried nodejs-4.4.5 which has npm-2.15.5 It no longer segfaults on the install step, but it doesn't really work :-( Any access just returns 'Cannot GET /'

Anyone have suggestions on how I might debug this? It's a known working (simple) application I got from
https://angular.io/docs/ts/latest/quickstart.html

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#6 lore raw
In reply to Davis, Michael
Quoted 5 lines · Michael

I am currently using angular from a different meta layer.
https://github.com/imyller/meta-nodejs
It maintains newer versions of nodejs.
It might be something you want to try.

Are you using AngularJS-1 or AngularJS-2?

Quoted 19 lines · Gary Thomas
Quoted 18 lines · Gary Thomas
Quoted 9 lines

The current (at least 4.4.4) nodejs recipe also creates nodejs-npm which is npm version 2.15.1. I'm trying to run angularjs that needs npm >= 3.3.x. I've not yet tried the update to 4.4.5, so if this fixes the issue just let me know.

What needs to be done to get a newer npm?

BTW, the current one segfaults when trying to install the attached package file.

I have now tried nodejs-4.4.5 which has npm-2.15.5 It no longer segfaults on the install step, but it doesn't really work :-( Any access just returns 'Cannot GET /'

Anyone have suggestions on how I might debug this? It's a known working (simple) application I got from
https://angular.io/docs/ts/latest/quickstart.html

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#7 lore raw

Angular JS 1.5

Quoted 27 lines · Gary Thomas
Quoted 4 lines · Michael

I am currently using angular from a different meta layer.
https://github.com/imyller/meta-nodejs
It maintains newer versions of nodejs.
It might be something you want to try.

Are you using AngularJS-1 or AngularJS-2?

Quoted 19 lines · Gary Thomas
Quoted 18 lines · Gary Thomas
Quoted 9 lines

The current (at least 4.4.4) nodejs recipe also creates nodejs-npm which is npm version 2.15.1. I'm trying to run angularjs that needs npm >= 3.3.x. I've not yet tried the update to 4.4.5, so if this fixes the issue just let me know.

What needs to be done to get a newer npm?

BTW, the current one segfaults when trying to install the attached package file.

I have now tried nodejs-4.4.5 which has npm-2.15.5 It no longer segfaults on the install step, but it doesn't really work :-( Any access just returns 'Cannot GET /'

Anyone have suggestions on how I might debug this? It's a known working (simple) application I got from
https://angular.io/docs/ts/latest/quickstart.html