Questions tagged [npm]
66 questions
0
votes
1 answer
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://deb.nodesource.com/setup_9.x | sudo bash -
##…

Mendes
- 131
- 1
- 10
0
votes
1 answer
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:~/pool# npm update
> bignum@0.12.5 install…

Casper Round
- 119
- 6
0
votes
1 answer
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 had this problem and a few others do not, the…

user3346931
- 139
- 1
- 7
0
votes
1 answer
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-172-31-22-20:~/docker-curriculum# docker build -t…

Ashish Karpe
- 277
- 2
- 5
- 19
0
votes
1 answer
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 it with systemd. I want the application to be always…

Antoine
- 125
- 5
0
votes
1 answer
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 by the software I am deploying.
Everything is…

contrebis
- 103
- 3
0
votes
2 answers
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 Compute Engine instance (while trying to simple…

Andrey Afoninsky
- 1
- 2
0
votes
0 answers
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 VSZ RSS TTY STAT START TIME COMMAND
…

spirytus
- 197
- 2
- 4
0
votes
1 answer
Are we drowning in package managers?
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 want to deploy your application (they all can do…

luxcem
- 111
- 1
- 4
0
votes
1 answer
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
*** express@4.11.2
*** accepts@1.2.3
*****…

Dmitry Lyapin
- 11
- 4
0
votes
1 answer
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 on my latest one something has gone wrong.
Briefly…

iiz
- 101
- 3
0
votes
2 answers
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-auth
If I call npm without sudo, some of them will…

massimo
- 1
- 2
0
votes
0 answers
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 failed, I found a Fastly Debug message in the…

Itai Frenkel
- 203
- 1
- 8
0
votes
0 answers
Docker container can't find express even though it is installed and the Dockerfile compiles fine
When I try to run a docker container from an image I just built using "docker run" Node.js can't find express even though it is installed and the Dockerfile compiles fine.
Here is the output
> dev
> nodemon
[nodemon] 2.0.22
[nodemon] to restart at…

Hassam Dauhoo
- 11
- 1
- 3
0
votes
0 answers
Can't install npm on CentOS 6 due dependency issues
I have a CentOS 6 machine that I want to install npm on. Whenever I do a normal yum install npm I get an error saying that I need to install krb5-devel which doesn't show up on yum search so I downloaded the RPM file and tried to install it manually…