node.js - Unable to use NPM without sudo -



node.js - Unable to use NPM without sudo -

i have installed node , npm using homebrew, , before bundle downloaded nodejs website , still cannot utilize npm @ without prefixing sudo.

when seek npm -v example, no error shown, terminal waits , waits , waits until finally, [process completed] message appears. why , how prepare it?

i have searched around , tried many things, including advice in so post

have added homebrew location "$path" adding "export path="/usr/local/bin:$path" bash profile?

node.js osx npm sudo

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -