ubuntu - yo: command not found -
i've installed nodejs chris lea's version:
sudo add-apt-repository ppa:chris-lea/node.js sudo apt-get update sudo apt-get install nodejs npm
than installed yeoman, grund-cli , bower using npm:
sudo npm install -g yo grunt-cli bower
everything went alright including "[yeoman doctor] looks alright!" @ end of yeoman's install.
/home/gabriela/npm/bin/yo -> /home/gabriela/npm/lib/node_modules/yo/cli.js > yo@1.1.2 postinstall /home/gabriela/npm/lib/node_modules/yo > node ./scripts/doctor
than run:
gabriela@gabriela-ubuntu:~$ node /usr/bin/node gabriela@gabriela-ubuntu:~$ npm /usr/bin/npm gabriela@gabriela-ubuntu:~$ bower /usr/bin/bower gabriela@gabriela-ubuntu:~$ yo gabriela@gabriela-ubuntu:~$ yo yo: command not found gabriela@gabriela-ubuntu:~$ echo $path /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:$java_home:$jre_home
what went wrong? have execute other command install yeoman properly?
i don't know why heck got lost. after bunch of tests resolved creating symbolic link.
gabriela@gabriela-ubuntu:/$ sudo ln -s /home/gabriela/npm/bin/yo /usr/bin/yo gabriela@gabriela-ubuntu:/$ yo [?] do? (use arrow keys) ‣ run angular-bootstrap generator (0.4.1) update generators install generator find me out of here!
Comments
Post a Comment