Skip to content
This repository has been archived by the owner on Mar 6, 2019. It is now read-only.

Use only locally installed npm modules #2

Open
nymous opened this issue May 7, 2017 · 0 comments
Open

Use only locally installed npm modules #2

nymous opened this issue May 7, 2017 · 0 comments

Comments

@nymous
Copy link
Member

nymous commented May 7, 2017

We should stop using npm i -g pm2 bower, this could be dangerous in environments where multiple projects use different versions of these dependencies.

This solution looks interesting:

$(npm bin)/pm2

But we need to make sure we use the right node_modules folder (i.e. the project one, not the one specific to a service).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant