Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install packages to global /usr/lib/node_modules #123

Open
popravich opened this issue May 13, 2016 · 4 comments
Open

How to install packages to global /usr/lib/node_modules #123

popravich opened this issue May 13, 2016 · 4 comments

Comments

@popravich
Copy link

popravich commented May 13, 2016

Hi,

Currently to install some package to global node_modules I have to run something like this:

$ cd /usr/lib/node_modules
$ sudo ied install react

Is there a better way or am I missing something?

my env is:
ied v1.1.1 @ ubuntu 16.04

@alexanderGugel
Copy link
Owner

Currently --global isn't implemented. PR welcome.

@milesj
Copy link

milesj commented Jul 11, 2016

Globals are pretty much an anti-pattern. It's nice that IED does not support it.

@tailhook
Copy link

Globals are pretty much an anti-pattern. It's nice that IED does not support it.

Unless you're using containers. In that case, local installations are pretty much anti-pattern.

@milesj
Copy link

milesj commented Jul 11, 2016

I guess that would be the exception, which is also the minority at this point.

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

No branches or pull requests

4 participants