Skip to main content
Filter by
Sorted by
Tagged with
1548 votes
23 answers
1.4m views

Can someone tell me where can I find the Node.js modules, which I installed using npm?
trnc's user avatar
  • 21.7k
20 votes
4 answers
10k views

I can't figure out how to add paths to my Node.js installation (v.0.4.7 on Mac OS X). I've installed npm, and it installs globally to /usr/local/lib/node_modules. However, when I installed npm, it ...
ampersand's user avatar
  • 4,316
139 votes
5 answers
192k views

There are quite a few modules which are listed on node's github page but are not published with the npm-registry. These modules can't be installed using npm. What is the correct way to install these ...
vivekian2's user avatar
  • 3,954
9 votes
6 answers
27k views

Trying to use a lib but getting this error... npm ERR! JSON.parse Failed to parse package.json data. npm ERR! JSON.parse Note that package.json must be actual JSON, not npm ERR! JSON.parse just a ...
fancy's user avatar
  • 52k
1 vote
3 answers
477 views

npm uninstall express successfully uninstalls express, and when I ls $NODE_PATH, it isn't there anymore. However, if I run node and require('express'), I get { version: '1.0.0rc2', Server: { [...
Mark's user avatar
  • 41.4k
0 votes
1 answer
3k views

In an example I see something like this: var uid = require("../support/express/support/connect/lib/connect/utils").uid var express = require("express") is OK! var uid = require("express").uid is ...
FriiSource's user avatar
61 votes
3 answers
35k views

In short... First of all, why does npm suggest that it should only run as non-root? I highly disbelieve that every other package manager (apt, yum, gem, pacman) is wrong for requiring sudo. Second, ...
Alexander Bird's user avatar
3 votes
2 answers
2k views

I have a really simple Node JS app and I'd like to include the Express JS framework. I've installed Express with NPM (and NPM with Homebrew) without any errors using: brew install npm npm install ...
Kevin Sylvestre's user avatar
1 vote
2 answers
876 views

I’m 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....
Sanjay Uttam's user avatar
11 votes
2 answers
7k views

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 ...
Mark Bolusmjak's user avatar

1
996 997 998 999
1000