Answer the question
In order to leave comments, you need to log in
Nodejs & gulp from sudo ?
Good afternoon.
Installed nodejs, gulp, etc. on ubuntu 14
C came up with two questions.
1) To run Node, you need to enter nodejs. Those. if we want to look at the version, then we write nodejs -v. Why doesn't node -v work?
2) Gulp with the connect module requires that it be run under sudo. $ sudo gulp
How to make it possible to run it without sudo ?
Answer the question
In order to leave comments, you need to log in
1) If you installed via apt-get, then just write nodejs -v or make an alias in ~/.bashrc - alias node=nodejs
2) I suspect that you specified port 80 for connect (port range up to 1024 can only be used with administrator rights)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question