Skip to content
Advertisement

Tag: node.js

Why does grunt not work when installed globally?

I have installed grunt and grunt-cli globally using sudo npm install -g grunt… commands. My working folder is `/opt/web’, please don’t ask why 🙂 Checking grunt version inside `/opt/web’ works: However, I can’t actually run a grunt task from there: If I install grunt locally, it then asks to install all it’s dependencies locally (that are already installed globally (!)).

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 need read- and executable permissions for others. Issue:

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 you can use ip

Which threading model is used by node.js? [closed]

It’s difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 9 years ago. When a new client connects to a server running node.js, does it use

npm fails to build socket.io with Error “Not compatible with your version of node/npm: commander@0.5.0”

I cloned socket.io from https://github.com/LearnBoost/socket.io.git bit it fails with the following Message My current version of node and npm is as follows Is it that my node version is higher than the supported upper limit? If so what is the solution? I am clueless as to how to proceed from here. Please !!HELP!! Answer npm -f install socket.io just solved

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 brings up the node shell as

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 new binary will be

Advertisement