I believe the easiest way to achieve what you want to do is by using the "npm rebuild" command.
-- Daniel R. <dani...@neophi.com> [http://danielr.neophi.com/] On Thu, Oct 11, 2012 at 6:06 AM, Mariusz Nowak <mari...@medikoo.com> wrote: > I'd like to create application bundle with all it's dependencies, so it can > be installed on any platform without need of internet connection (other case > is that it shouldn't be dependent on npm repository state - let's say I want > to be sure I can install it without issues in 5 years time). > > So technically all packages with it's dependencies need to be downloaded as > usually `npm install` does, but compile step shouldn't proceed. > Afterwards when I load such bundle on any platform, `npm install` should > (without need of downloading anything) just compile already present packages > for given platform, > > What would be the easiest way to achieve that? > > Thanks! > > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > 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 post to this group, send email to nodejs@googlegroups.com > To unsubscribe from this group, send email to > nodejs+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en -- Job Board: http://jobs.nodejs.org/ Posting guidelines: 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 post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en