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

Installing global package with yarn will not yield to a shim after rehash #194

Open
lustremedia opened this issue Apr 13, 2022 · 1 comment

Comments

@lustremedia
Copy link

I have tried to install pm2 via yarn global add pm2 but I somehow cannot get pm2 to show up in bash no matter what I do.
nodenv rehash does nothing. I installed the rehash plugin that should run rehash automatically, no success.

Now when I install pm2 via npm install pm2 -g and then run a nodenv rehash I get a shim and it works.

Is this a bug?

@lustremedia
Copy link
Author

ok so I just found #120 after some more digging. The issue has been closed but it looks like this was more of a feature request.

Looks like yarn global is not supported out of the box, or has something changed since then?

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

No branches or pull requests

1 participant