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

Add checks for multiple yo versions #30

Open
SBoudrias opened this issue Jun 4, 2016 · 2 comments
Open

Add checks for multiple yo versions #30

SBoudrias opened this issue Jun 4, 2016 · 2 comments

Comments

@SBoudrias
Copy link
Member

SBoudrias commented Jun 4, 2016

I've seen this issue a few times. Basically the user have a yo version installed, and their npm now install in a different binary folder. This cause an issue where the user always use the old yo version as their new ones is not found on their path.

I'm unsure how we could detect this, but the issue is clear when you check where npm installs modules against what is returned with which yo (where yo on windows)

Related bug reports on our trackers

@johnny-dash
Copy link

I actually met the same issues and is there any quick solution for this? Thanks

@eddiemonge
Copy link
Member

This is really a problem with npm. I don't see a way to test for this as the user could have it setup like that. This is really more of a npm issue. If we try to be too smart about fixing this, it could have adverse affects.

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

3 participants