So your trying to use Yeoman with Node.js and running into problems and errors? Maybe this post can help you.
“Easy with the “sudo”; Yeoman is the master around here.”
Ok so you’ve seen this error when trying to use Yeoman. “Easy with the “sudo”; Yeoman is the master around here.” Now what?
“Since yo is a user command, there is no need to execute it with superuser permissions.”
Addy Osmani (Google Dev Team) wrote this on a Gist.
It was suggested by ryandahl to Remove ALL /usr/ installed versions of node and install it in ~/local/.
root@server:~/node-latest-install# echo $NODE_PATH
Create a new user and stop using Root.
# enter password
sudo usermod -aG sudo sam
# add this line
sam ALL=(ALL:ALL) ALL
# 'cntrl x' to exit, then enter
# logout and login as new user sam
But now I got a permission denied error.
# sudo chown sam /var/www/
That fixed it. Hope this helped someone facing same issues.
oops no ruby or compass installed!
//OR . ~/.profile
rvm install 2.0.0
rvm use 2.0.0
gem update --system
gem install compass
Ok that worked! =)