Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Manually pointing PATH to yeoman after install #430
Got the "There looks to be a problem with the install. :(" message and tried uninstalling, reinstalling cleaning npm cache etc.
Also tried installing with
I think the issue might be that I use ZSH? I solved the issue by manually adding
Yeoman now seems to be working correctly.
Did I miss something obvious? Was there some other fix? What was causing the issue?
THIS OUTPUT IS FROM THE WRONG COMPUTER DISREGARD IT.
Sure, check it out.
@chrisdl Okay, this is me completely guessing...
I just realized I've had a serious brain fart (in my defence I am running a fairly high fever). I'm not on the computer which has yeoman installed on it right now. I will return to this computer tonight and will test all your awesome suggestions and provide my
Alright, back home now.
I have now replaced
When searching the computer for yeoman
I removed yeoman using
I thus conclude that the root cause of the issue seems to be that nothing in my paths are pointing at my npm modules. I re-added
Awesome, glad you got it sorted.
@sindresorhus is it maybe worth compiling some form of "troubleshooting" document or similar for common issues like this that I imagine might crop up a few times? I'll happily fork & try to put one together if you think it might be beneficial.
Jack, can you add it to https://github.com/yeoman/yeoman/wiki/Additional-FAQ?
Right now that's the easiest place to drop some documentation. Later on
Ran into this issue as well and decided to ask isaacs on #node.js. Seems like there are two similar but separate issues:
So the two workarounds are:
hth with the documentation. chat pasted below:
06:41:09 felideon | isaacs: any reason /usr/local/share/npm/bin would not be added to the path (mac 10.6.8) when installing the latest node binary (.pkg) from the website?
Ok. I've added the following two lines to my .bash_profile on Mac OS and that eliminated the path not found issue
But I'm getting a strange error when I actually try to create an app with Yeoman. Any help would be greatly appreciated!
UPDATE: As suggested I ran $ brew uninstall node and then reinstalled via the installer on nodejs.org and then upon installing Yeomin I ran into a permission error with simple
$ npm install yo
So trying with
$ sudo npm install yo
It seemed to work, but now to run $ yo webapp runs into the same permissione error as above, but upon running $ sudo yo webapp it created the project, but it installed EVERYTHING into the local /node_modules folder and everything is owned by root... #argh #wish-I-was-better-at-CL-things