This looks like a permissions issue in your home directory. To reclaim ownership of the .npmdirectory execute
sudo chown -R $(whoami) ~/.npm
reference :http://stackoverflow.com/questions/16151018/npm-throws-error-without-sudo
分享 Linux/Apache/PHP+MySQL/Smarty/JQuery/RubyOnRails 的點點滴滴!
沒有留言:
張貼留言