Setting npm up as the root user is straighforward and workds. Except you have to run npm commands as root (not recommended). So I thought I'd try setting it up as a non-root user.
According to npm documentation, a non-root user without root access can set up npm by:
creating a .npmrc file with root, binroot, and manroot pointing to...
I'm using OSX 10.5 and playing around with Nodejs. I've managed to install npm and used it to install a couple of plugins. Well at least the installation says it has worked fine but when I try and load them in I get an error
$npm install htmlparser
Installs ok, then I create a file called test with
var htmlparser = require("node-htm...
It seems to be two package managers for javascript at the moment.
Seedjs and Npm.
Which one should one use?
...
All,
Trying to install NPM using the commands from here: http://howtonode.org/introduction-to-npm
Specifically, when I run:
curl http://npmjs.org/install.sh | sh
This is the error I get...
node cli.js cache clean
TypeError: Object #<an EventEmitter> has no method 'on'
at Object.<anonymous> (/home/sanjay/npm-1285345468/lib/utils/rm-r...