On Sun, Mar 27, 2016, 2:12 PM NodeNinja <[email protected]> wrote: > 1. Is this a limitation of node modules or something to do with "sqlite3" ? >
Not a limitation, just the recommended practice. If your apps all share their dependencies then they must all use the same versions. 2. Why didn't they allow to install once and any or multiple projects to > link to that module? > I'd like to point you at some sort of canonical documentation on this, but I can't actually think of any that fully explains the philosophy. This is definitely a topic that falls into the tribal knowledge category. The most often cited reason is to allow multiple incompatible versions of dependencies to be installed, avoiding the most common cause of "dependency hell". 3. Instead of installing the module multiple times can it be installed once > and then the "node_modules" folder be copied to the project dir? > There are ways of doing this, yes, but I'm curious what problem you are trying to solve by doing this. ~Ryan -- ~Ryan -- 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/CAGjmZGzaor43pvQSNLvkV8k%2BUXRwbje4xOpMZnBjGGq4DHL8DA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
