You might not be able to install it later on different environments. If you
have plans to use containers then you should not drop anything in
node_modules. It would be better if you just publish it as an npm package
and use it in your code by installing it through proper channel.
On Wed, Nov 30, 2016 at 5:48 AM, Tom Fennelly <tom.fenne...@gmail.com>
> I'm just wondering what might be the risks associated with manipulating
> the contents of the node_modules folder outside the normal "npm install"
> etc commands. IOW ... are there reasons why the a raw "drop in" of packages
> into the node_modules is a bad idea Vs doing it through the normal "npm
> install" mechanisms?
> I have a colleague proposing this basic idea as a solution to a problem we
> have (longer story that probably doesn't need airing here). For me, it just
> feels like the wrong thing to do (scares me), but my "gut feeling" is not a
> good enough reason for me to say that I think we should not consider doing
> So, I'd love if someone could enlighten me to the potential dangers, or if
> there's no real danger and nothing to worry about.
> Thanks guys.
> Job board: http://jobs.nodejs.org/
> New group rules: https://gist.github.com/othiym23/9886289#file-
> Old group rules: https://github.com/joyent/node/wiki/Mailing-List-
> 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 nodejs+unsubscr...@googlegroups.com.
> To post to this group, send email to firstname.lastname@example.org.
> To view this discussion on the web visit https://groups.google.com/d/
> For more options, visit https://groups.google.com/d/optout.
Muhammad Wasim | Lead Software Engineer | Zigron Inc.
Job board: http://jobs.nodejs.org/
New group rules:
Old group rules:
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.