Skip to content

Tag: node.js

Node.js bash: /usr/local/bin/node: Permission denied

I’m installing Node.js on Ubuntu machine. I followed official instructions: So, I got node binary in /usr/local/bin/node and all dependencies. But when I run it from command line I get permission error: How can I fix it? How can I run it under my account? sudo node doesn’t work too. Answer You nee…

How to start node.js on port 80 on a linux server?

When I try to start node on port 80, the error tells me that the port is in use. I imagine that’s Apache. What is the proper way to “take over” port 80, and keep it that way after a server restart? (Linux xxxx.__.com 2.6.32-5-amd64 #1 SMP Tue Jun 14 09:42:28 UTC 2011 x86_64 GNU/Linux) Answer…

Error installing NPM for node.js

I’m trying to install npm on ubuntu 11.04 using the “git all the way” method found in this gist I keep getting this error after running sudo make install on npm I know this is something wrong with bash, but I’m not very good with bash. EDIT running the node command in the terminal brin…

How can I uninstall or upgrade my old node.js version?

some time ago I have installed node.js on my Ubuntu system. with the following steps (dump of my history): My Version is v0.3.2-pre. Please, is there a clean way to get a new version by uninstall/install or upgrade? I have not much experience with make or git. Thanks Answer Do the exact same thing again. The …