Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

-3
votes
0answers
72 views

Problems with installing log.io on Debian Wheezy [closed]

Creating a user logio: useradd -m -s /bin/bash logio Trying to install log.io: npm install -g log.io --user "logio" The result is: ws@0.4.32 install ...
1
vote
2answers
106 views

npm install generator-webapp fail

I have cleaned my run npm remove ... and npm -g remove ... to remove everything related to npm. But I still got below error when I try npm install generator-webapp npm ERR! peerinvalid The package yo ...
1
vote
1answer
44 views

Cant use npm as provider with puppet

I am attempting to do the following in puppet: package { 'bower': ensure => present, provider => 'npm', require => Class['nodejs'], before => [ Exec['npm_install'], ...
1
vote
1answer
74 views

How to install nodejs and npm packages with salt on debian

I'm struggling to install a recent nodejs version and npm packages using salt on debian. Here is my salt state: nodejs-deps: pkg.installed: - names: - g++ - curl - libssl-dev ...
0
votes
1answer
176 views

Issues installing Grunt in Vagrant environment

I am attempting to install node.js, npm and Grunt.js in an Ubuntu Trusty 64bit Vagrant environment and running into some issues. Here is my puppet manifest: init.pp -- class grunt::install { ...
4
votes
1answer
120 views

Installing and configure docular

I'm trying to install and configure doculare package on node.js platform. I have started from the official documentation website grunt-docular.com. After hundreds of tries, there was a problem in ...
0
votes
1answer
209 views

npm install failing at gyp rebuild on ubuntu server 12.04.5

Hi [first serverfault q so hope this isn't too dumb a question] I've got a setup on a Ubuntu 12.04.5 server that is just for deploying meteor js applications. Previously my deploy pattern worked but ...
0
votes
1answer
59 views

Which combination of global/local sudo/notsudo for which node.js npm install package?

I'd like to install packages like these on MacOSX, but interested in Windows or Linux versions too: npm install express npm install swig npm install mongodb npm install consolidate npm install ...
1
vote
5answers
4k views

Centos 7 Can't yum install npm

I'm trying to get nodejs and npm installed on centos 7 So first I did rpm -i http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm to get the epel repository Then I ...
3
votes
1answer
717 views

Using npm install as a MS-Windows system account

I have a node application running on Windows, which I want to be able to update automatically. When I run npm install -d as the Administrator account - it works fine, but when I try to run it through ...
0
votes
0answers
197 views

npm install -g nodemon get stucked while installing

I am trying to install nodemon but everytime the installation get stuck at the same part. It get a response, but didn't end the job. I have to stop it after some minutes with the state bellow. I ...
0
votes
0answers
24 views

apt/maven/npm checksum failure on amazon ec2

I'm recently encountering multiple download checksum failures when booting ec2 machine. This manifests itself with sporadic failures of apt, maven and npm installs. In one case that the pom checksum ...
1
vote
2answers
2k views

npm install on vagrant virtualbox

Seem to be having A LOT of trouble figuring this one out, but I'm attempting to use vagrant and provision a server that uses node / npm to install dependencies. My setup is: ubuntu 12.04 host (old ...
1
vote
1answer
155 views

Apache webserver not starting - Not sure what's wrong

I had installed apache webserver on my local machine (Linux Mint 15) and everything was working fine until I tried to install npm/nodejs. I'm getting this error whenever I try starting apache - ...
1
vote
0answers
258 views

nodejs npm dependencies fails on pump.io installation

I want to install pump.io on my debian wheezy VPS by following these steps : https://github.com/e14n/pump.io/wiki/Debian-Installation NodeJS installation is ok, but when I ask to npm for installing ...
1
vote
1answer
109 views

troubleshoot puppet install order

My puppet agent run fails initially, then succeeds on the second run. I understand that it probably has to do with my execution order, and a dependency is being added later on in the execution ...
0
votes
1answer
900 views

How to use a different version of python duing NPM install?

Salam (means Hello) :) I have terminal access to a VPS running centos 5.9 and default python 2.4.3 installed. I also installed python 2.7.3 via these commands: (I used make altinstall instead of make ...
1
vote
1answer
1k views

Offline install of npm package

I've got a script that automatically installs some npm packages (specifically karma, which I'd like to install with --global) on an EC2 instance on startup. The problem is that npm sometimes randomly ...
0
votes
0answers
206 views

Grunt doesn't launch : “>> ReferenceError: grunt is not defined”

I'm new to NodeJS and Grunt and I'm struggling to make this work. Here's what I get : $> grunt Loading "Gruntfile.js" tasks...ERROR >> ReferenceError: grunt is not defined Warning: Task ...
0
votes
1answer
2k views

ENOENT errors when running npm inside vagrant shell provision

Have a project with the following package.json file: { "name": "requirejs-library-skeleton", "description": "RequireJS skeleton for modern JS libraries.", "version": "0.2.0", ...
-1
votes
1answer
43 views

Bash syntax, square brackets and -d option

I have this command in bash: [ -d node_modules/phantomjs ] || npm install -g phantomjs I am not sure what it means in plain English... Can anyone please advise?
1
vote
0answers
458 views

private github repo in package.json breaking azure website deployment

Trying to deploy an Express app on an Azure "web site" through Github. I have a private repository in package.json dependencies: "dependencies": { "express: "~3.4.0", ... "private-repo": ...
3
votes
1answer
4k views

The following packages have unmet dependencies: nodejs : Conflicts: npm

I followed this gist https://gist.github.com/Goddard/5500157 to install nodejs and npm, but after running it neither node --version or npm --version could be ran, giving an error of command not found. ...
1
vote
1answer
116 views

NPM fails to install Socket.io does it need x-server?

I was trying to install socket.io on my linux server using NPM root@camdev01-dev:# npm install socket.io (npm:22742): Gtk-WARNING **: cannot open display: OS:ubuntu.11.10 server
4
votes
1answer
2k views

npm install, but can't run

I'm a newbie to Node, but I've been trying to install some npm modules and after what seems like a successful install, I can't run the new app. I must have some basic config error, like a missing ...
2
votes
1answer
976 views

Why can't I install modules via NPM unless I'm root?

I'm using the latest version of stable node.js (0.8.19) $cd ~/downloads/node $./configure $make $sudo make install Doing this installed node.js Now, when I go to: $cd ~/myproject/node_modules ...