Repeatability? Suppose you manually install some dep, which turns out to be at version 0.2.5.. and code to that. Then you want to run your code on another machine 3 months later. You npm install foodep and you've got 0.3.1 which has incompatible changes, you don't even remember which version you had previously installed. By defining your deps in a package.json file you're able to repeatedly deploy and know you've got what you need, at the right version.
On Friday, March 28, 2014 3:17:39 PM UTC+11, Frank Z wrote: > But if I already installed the dependencies in my node_module folder, > what does it matter? > > > -- -- 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- 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]. For more options, visit https://groups.google.com/d/optout.
