yeoman / doctor

Detect potential issues with users system that could prevent Yeoman from working correctly
http://yeoman.io
BSD 2-Clause "Simplified" License
61 stars 16 forks source link

Add checks for multiple yo versions #30

Open SBoudrias opened 8 years ago

SBoudrias commented 8 years ago

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 commented 7 years ago

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

eddiemonge commented 6 years ago

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.