Way to trigger npm rebuild on node version change?

79 views
Skip to first unread message

Jules

unread,
Feb 20, 2013, 8:36:06 AM2/20/13
to nod...@googlegroups.com
Modules that contain compiled C++ code need to be rebuilt when the Node version changes, right?

Any suggestions on ways to automate this?  We're chef-managed, but can't seem to find a way to trigger npm rebuild after a Node upgrade.

Is there any way to determine the linked-against version of a module simply by inspecting it?

Or, better, any way to get npm install to rebuild when necessary?

mscdex

unread,
Feb 20, 2013, 9:08:23 AM2/20/13
to nodejs
On Feb 20, 8:36 am, Jules <ju...@jules.com.au> wrote:
> Modules that contain compiled C++ code need to be rebuilt when the Node
> version changes, right?

Not necessarily. They only need to be recompiled when the ABI changes,
which won't happen within stable versions.
Reply all
Reply to author
Forward
0 new messages