NB:  quite a while later.

We just hit this.  My workaround was to cd into the bundled dependency and 
issue command `npm rebuild`.  I'm having to do this as a one-off for each 
dependency in this category (bundled dependency with native code).

It'd be jim-dandy if someone could propose a general (and recursive) 
solution to this problem.

-matthew

On Monday, November 25, 2013 at 8:16:08 AM UTC-6, José F. Romaniello wrote:
>
> I have a module with a bunch of bundled dependencies (bundledDependencies 
> in package.json). I've noticed that if the bundled dependency is native 
> (compiled/node-gyp)  it will be rebuild when I install my module. However, 
> it the bundled dependency has a dependency on a native module this will not 
> be rebuild when installed.
>
> A --- bundles --> B
>   In this case B is build when installing A.
>
>
> A --- bundles --> B --- depends on --> C
>   C is not build when installing A.
>
> I'm not sure if doing an "npm rebuild 
> <https://npmjs.org/doc/cli/npm-rebuild.html>" after installing A will 
> rebuild C. 
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/8d568a40-5600-4c03-ac28-986791d75144%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to