Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [npm]

The tag has no usage guidance.

0
votes
0answers
23 views

Build & install node.js packages on offline AIX server

I installed Node.js on the offline AIX server. My problem is I couldn't install NPM packages on the server. I tried npmbox, local-npm, + and + but the problem is still occurred. The problem is when I ...
0
votes
0answers
21 views

Nginx rewrite proxy pass (For node react app)

I am running a Node React app on localhost:3000, which I am reverse proxying with Nginx and exposing on localhost/web/. However, there are issues with the files generated by the app, because they are ...
0
votes
1answer
848 views

npm install globally a package offline with tarball

According to npm docs, this should work; npm install ./package.tgz So I try this globally for pm2 tarfile I have downloaded from pm2 github repo releases page; npm install -g ./pm2-3.2.2.tar.gz ...
0
votes
0answers
65 views

npm install ldf-server on gcloud debian instance

I try to install it via sudo npm install -g ldf-server But it gives me error: /usr/bin/ldf-server -> /usr/lib/node_modules/ldf-server/bin/ldf-server > hdt@1.5.0 install /usr/lib/node_modules/...
-1
votes
1answer
74 views

Cannot install npm on an embedded Debian hardware:

I'm not being able to install NPM on my Debian embedded hardaware. Here is the log: I'm trying to install node on an embedded amd64 system. Here is the log: $ sudo curl --silent --location https://...
1
vote
2answers
11k views

How to install NPM on Debian?

Can somebody please help with installing NPM in Debian? First I tried apt-get install npm but got this message: Unable to locate package npm. So I followed the installation steps for Debian from ...
0
votes
1answer
558 views

npm update fails with cryptonote

I'm installing the electroneum pool git. I ran npm update and I keep getting the same error, I've tried changing node version but that doesn't make any difference. Here is the error root@ubuntu:~/...
2
votes
1answer
841 views

Jenkins Docker build slave - npm cache not working

I have a Docker image, let's call it frontend.image, that I use for a Jenkins build slave. The Jenkins Docker plugin will spin up a container from this image and build artifacts inside the container. ...
0
votes
1answer
213 views

how to resolve rename error when insalling grunt via npm without admin access?

I need to install grunt for a project setup in Windows 7. However, I am running into an issue that whenever I try to install grunt globally, it fails because of a permission error. A few other people ...
1
vote
1answer
477 views

How to install Node.js and NPM on Unix server so that no users require sudo to install or read global packages?

Is this really such an uncommon situation that I can't find answers anywhere? Anyway. I have a Ubuntu VM server on DigitalOcean and I am running Jenkins on this server to do build, test and local ...
1
vote
1answer
231 views

What does npm's error message The package grunt does not satisfy its siblings' peerDependencies … tell?

On an little outdated npm/node-platform I'm getting this error while trying to install grunt. npm ERR! peerinvalid The package grunt does not satisfy its siblings' peerDependencies requirements! npm ...
0
votes
1answer
393 views

docker npm ERR! install Couldn't read dependencies

While trying Docker Tutorial https://prakhar.me/docker-curriculum/#dockerrun getting error while running root@ip-172-31-22-20:~/docker-curriculum# docker build -t ashishkarpe/foodtrucks-web . root@ip-...
0
votes
1answer
72 views

How to launch let'schat (nodejs app) as deamon?

I have installed "let's chat" on my server. In the documentation, they say to launch the application with npm start from the directory where the application is installed. But i'm unable to launch ...
0
votes
1answer
557 views

Any way to stop apt-get upgrade downgrading npm to version 2?

I installed nodejs 4 on Ubuntu 14.04 using node's official PPA, as described here. It seems like npm v2 is the default so I upgraded npm to v3 using itself (npm update --global). Version 3 is required ...
3
votes
1answer
3k views

Node-sass error during installation of node modules

I'm trying to install Laravel on my Debian server, but it fails during installation of node-sass. I have had this setup for a long time and never experienced issues before. Maybe node-sass or npm ...
1
vote
1answer
352 views

How do I get the SSH key of my EB instance so that I can give it deployment access in BitBucket?

I am building a node.js app that is hosted by AWS Elastic Beanstalk. One of the dependencies is hosted on BitBucket. I have specified the Git SSH url in the package.json file and everything works on ...
0
votes
2answers
867 views

google engine 502 bad gateway during fetch npm package

I'm getting weird 502 error while trying to fetch npm package inside of google service instance. Error is constantly repeating on Google App Engine (Docker container deployment procedure), and Google ...
2
votes
1answer
96 views

Running npm via sudo (not as root, not as self-user) can't find npm where root or self-user can

I have a makefile, which I use to sudo make install for the parts of my app that generally require root installation. Unfortunately, this results in a strange situation where sudo doesn't have access ...
1
vote
1answer
195 views

Making war inside Docker stuck on NPM

Using Docker to make war file to attach to Apache Tomcat. Struggling to use NPM/MVN to get Tomcat war up. I'm behind a corporate proxy and the make scripts don't have "bower install --allow-root" (...
0
votes
0answers
257 views

EC2 instance (Ubuntu) suddenly got very sluggish

I logged into my EC2 instance on AWS, pull the latest code and started running npm update and noticed my Ubuntu become very, very sluggish. When I run ps aux I got this: USER PID %CPU %MEM ...
-1
votes
1answer
28 views

Simple Linux Benchmarking Test to Perform Throughout Install

I have a script that installs a lot of software. For debugging purposes I am looking for a way of simply benchmarking my system after each install to see which piece of software cripples my server. ...
0
votes
1answer
46 views

Are we drowning in package managers? [closed]

The current trend is to use language-oriented package manager, such as npm or bower for javascript, pip for python, gems for ruby and so on. As I understand the need for a dependency manager when you ...
3
votes
0answers
763 views

Openshift not installing node modules

I have a production pipeline of local code pushed via git to Wercker (a continuous delivery platform) and then is forwarded to openshift for production. Both steps, the local build and the deployment ...
0
votes
1answer
131 views

Bad output for “npm ls”

How can I fix this ugly output for "npm ls"? Debian Wheezy / node v0.10.36 / npm 2.4.1 UPDATE: «*» - is an ugly char, that I can not reproduce here: helloworld@1.0.0 /var/www/helloworld *** ...
1
vote
2answers
495 views

unable to install npm on the AWS RHEL7 AMI because of c-ares-devel dependency

I've added the EPEL repository and attempted to install npm (since it is not included in the standard repos), but get the following error: Error: Package: nodejs-devel-0.10.33-1.el7.x86_64 (epel) ...
1
vote
0answers
476 views

Etherpad-Lite - Something bad happened

I installed etherpad-lite on Debian 7 - I also configured NPM and Node.js, but if I try to open etherpad, I'm getting this error: { "error": "Sorry, something bad happened!" } On the console I'm ...
4
votes
0answers
1k views

400 bad request from a proxy cache

So we have an nginx proxy cache that is used to maintain uptime even if npm goes down. On occasion this server (noticeably once every few months) starts returning 400 bad request for every response ...
3
votes
2answers
1k 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
2k 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'], ...
2
votes
1answer
3k 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 ...
1
vote
1answer
2k 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
822 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
1k 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
2answers
165 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 http-...
9
votes
8answers
50k 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 ...
4
votes
1answer
3k 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
52 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 ...
2
votes
2answers
6k 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
1k 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
600 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
270 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 ...
2
votes
1answer
5k 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 ...
4
votes
3answers
14k 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 ...
1
vote
1answer
4k 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
320 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?
3
votes
0answers
1k 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": "git+...
13
votes
1answer
34k 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
440 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
5
votes
2answers
4k 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 ...
3
votes
2answers
3k 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 $npm ...