Tagged Questions
18
votes
2answers
3k views
How do we or can we use node modules via npm with meteor?
Or is that something that will be dependent on the packaging api?
Or is there a prescribed method that is recommended?
Sorry, I had trouble describing this question. I hope it is clear enough.
17
votes
1answer
7k views
how/why does npm recommend not running as root?
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, ...
52
votes
5answers
27k views
Node.js NPM is not installing module in the default path
I recently installed Node.js and npm module on OSX and have a problem with the settings I think:
npm install [MODULE] is not installing the node.js module to the default path
which is ...
32
votes
11answers
3k views
How to manage client-side JavaScript dependencies?
Although there are great solutions to manage dependencies on the server side, I could not find any that satisfies all my needs to have a coherent client side javascript dependency management workflow. ...
23
votes
1answer
11k views
How do I completely uninstall Node.js, and reinstall from beginning (Mac OS X)
My version of node is always v0.6.1-pre even after I install brew node and NVM install v0.6.19.
My node version is:
node -v
v0.6.1-pre
NVM says this (after I install a version of node for the ...
6
votes
4answers
2k views
NPM can't install appjs. Error: Cannot find module 'graceful-fs'
I installed node.js and npm already, but when I try to install appjs I get this error:
zephlon@zephlon-T5254:~$ npm install appjs
node.js:201
throw e; // process.nextTick error, or 'error' event ...
4
votes
2answers
3k views
error installing coffeescript on mac 10.7.2
Node and npm are both installed and up to date but keep getting this error when trying to install coffeescript. I am still new to programming so any advice would be greatly appreciated.
...
11
votes
5answers
5k views
can you host a private repository for your organization to use with npm?
Npm sounds like a great platform to use within an organization, curious if a private repo is possible, like with Nexus/Maven. Nothing comes up on Google :(
18
votes
7answers
20k views
How to use npm with node.exe?
I have downloaded windows binary of nodejs. How can I install and use npm (Node package manager)?
16
votes
3answers
6k views
Is there a way to make npm install (the command) to work behind proxy?
Read about a proxy variable in a .npmrc file but it does not work. Trying to avoid manually downloading all require packages and installing.
Thanks
8
votes
3answers
5k views
How to use package installed locally in node_modules?
How do I use a local version of a module in node.js. For example, in my app, I installed coffee-script:
npm install coffee-script
This installs it in *./node_modules* and the coffee command is in ...
17
votes
2answers
10k views
How to install a node.js module without using npm?
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 ...
4
votes
3answers
2k views
Best workflow using node.js npm and git
I am about to do a large project with node.js and currently try sort a few things out.
In earlier node projects I had an extra folder for all node modules I used. This folder was ignored by git and I ...
2
votes
3answers
2k views
Mac OS X NodeJS: has no method 'router' error
Installed NodeJS v0.6.12 on MAC OS X using Mac Ports.
win764:node iwaldman$ which node
/opt/local/bin/node
win764:node iwaldman$ node -v
v0.6.12
Installed connect using ...
2
votes
1answer
2k views
Homebrew install issues
I am having some trouble with brew installs. So I have done the following:
Uninstalled homebrew with:
$ rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup
Reinstalled homebrew ...