Run PhpStorm's Create Project with sudo -


i want create new node.js app in phpstorm can't build npm requires root install. can't seem find way make phpstorm run npm su.

is there way so?

installing sudo result in more issues. i'd rather suggest making sure user (the 1 run webstorm with) has right privileges in ~/.npm, , give needed permissions ( 'sudo chown -r $user ~/.npm' )


Comments