Tagged Questions
1
vote
4answers
29 views
node cannot find express module?
I am unaware what is causing this problem, because I thought it should be working. I do have expressed installed, at least according to npm:
C:\Users\phucker\Desktop>node init.js
module.js:340
...
1
vote
0answers
14 views
npm ERR! addPlacedTarball Could not remove
I think this is the error that is halting my progress as I try to install express and dependencies. This log is too confusing for me. There are a number of warning, so I can't work out which is the ...
1
vote
1answer
15 views
How does the global npm modules run?
I believe you can install npm modules globally with the switcher -g. For instance, if we install express with the -g switcher we can use the command express to generate a new app.
So how does it run ...
0
votes
0answers
19 views
How to install prozess on a ubuntu machine using npm?
On the command npm install prozess it giving following error:
root@ubuntu:/usr/local/kafka/NodeKafka# sudo npm install prozess
npm http GET https://registry.npmjs.org/prozess
npm http 200 ...
0
votes
1answer
7 views
I want to download some resources upon 'npm install', presumably using a 'prepublish' script
Specifically, I want to download angular.min.js when running 'npm install'.
From what I read here the place to do such things is in a prepublish script. It also mentions I don't need to rely on ...
0
votes
1answer
25 views
How do I run a node.js app that I installed with npm?
So I installed Node.js on my Windows machine, opened up command prompt and typed
npm ethercalc
Lots of lines flew by and it seems ethercalc and its dependencies have been downloaded and installed. ...
0
votes
1answer
15 views
pip freeze for Node and npm
In Python, I am used to the following two paradigms:
pip freeze > requirements.txt
pip install -r requirements.txt
The first saves a list of requirements to a file, and the second installs them ...
0
votes
0answers
10 views
Using SemVer in NPM package.json for a dependency not in the NPM registry?
Package backbone.syphon is not in the NPM registry. I know it's intended to be used for the client, but I'm going to manage client dependencies with NPM, as a lot of projects works both for the server ...
0
votes
1answer
13 views
Error :enoent , rename 'somelocation\appshell.gyp.txt'
I am trying to create an insallter from cmd (nodejs) i am getting the following error
Error :enoent , rename 'somelocation\appshell.gyp.txt
Just after executing grunt install --force
Why?
2
votes
1answer
21 views
How to shrinkwrap devDependencies, but not install them unless necessary?
I have a bunch of devDependencies needed in order to run test suite and have production dependencies locked down with npm shrinkwrap. The problem is that when I run npm install, only production ...
0
votes
1answer
24 views
How to update a NodeJS module with NPM?
I want to update a NodeJS module to the latest version via npm. I know there is a newer version than the one I have installed. Though calling npm update MODULENAME just prints a few warning about ...
0
votes
1answer
61 views
nodejs npm unable to install globally from github URL
I am able to install locally using a git URL
nodejs npm unable to install from github URL
however, once I add "-g" flag - it fails.
Here is the entire log
...
0
votes
1answer
26 views
nodejs npm unable to install from github URL [closed]
Trying to install modules from github results in ENOENT error on package.json.
Easily reproduced using express
npm install https://github.com/visionmedia/express
throw error.
npm install express
...
0
votes
0answers
28 views
appfog - npm shrinkwrap mass errors
Im trying to learn node.js using appfog free server, so here is my app.js file:
var http = require("http");
var url = require("url");
console.log('asd');
function start(route) {
function ...
3
votes
1answer
58 views
Own Node.js project installed globally on own system
Background
I am very new to Node.js so please don't hate..
I found NPM very useful because I can install Node.js packages globally and then use them like standalone, available-on-path apps.
This ...