Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/1] (node.js) fix npm CC, other npm tweaks
@ 2014-11-23 20:39 Michael Wei
  2014-11-23 20:39 ` [Buildroot] [PATCH 1/1] Fix npm module cross compilation, use up-to-date npm and install modules globally Michael Wei
  2014-11-23 20:46 ` [Buildroot] [PATCH 0/1] (node.js) fix npm CC, other npm tweaks Thomas Petazzoni
  0 siblings, 2 replies; 7+ messages in thread
From: Michael Wei @ 2014-11-23 20:39 UTC (permalink / raw)
  To: buildroot

For some reason, node modules with native code (compiled using tools
like gyp) were not being cross compiled properly without the
--target_arch switch.

In addition, the version of npm that is provided with the version of
node uses is old, and has some bugs like race conditions in dependency
resolution which can break builds, so this patch also updates the 
host npm before install.

Finally, node modules are now installed globally. This allows modules
to install things such as command line utilities.

Michael Wei (1):
  Fix npm module cross compilation, use up-to-date npm and install
    modules globally

 package/nodejs/nodejs.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-07-14  7:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-23 20:39 [Buildroot] [PATCH 0/1] (node.js) fix npm CC, other npm tweaks Michael Wei
2014-11-23 20:39 ` [Buildroot] [PATCH 1/1] Fix npm module cross compilation, use up-to-date npm and install modules globally Michael Wei
2014-11-26 21:42   ` Thomas Petazzoni
2014-11-27  8:08     ` Michael Wei
2015-07-12 22:09   ` Thomas Petazzoni
     [not found]     ` <1436858924.2564.14.camel@posteo.de>
2015-07-14  7:44       ` Thomas Petazzoni
2014-11-23 20:46 ` [Buildroot] [PATCH 0/1] (node.js) fix npm CC, other npm tweaks Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox