Questions tagged [npm]

65 questions
20
votes
1 answer

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. I was able to uninstall nodejs, but had to go…
lumberjacked
  • 377
  • 1
  • 4
  • 9
9
votes
8 answers

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 tried yum install nodejs. Which worked. Then I tried…
Chris
  • 91
  • 1
  • 1
  • 3
5
votes
2 answers

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 location in my PATH... For example, running: npm…
Scott
  • 247
  • 1
  • 4
  • 10
5
votes
3 answers

NodeJS React Systemd Service not working

I am trying to set up a systemd service for a simple react application. This application is hosted in /home/myuser/test. Both npm and node are in the PATH and hard linked to /usr/bin. All the files have permissions for the myuser:myuser user and…
Nissy A.W.
  • 132
  • 1
  • 8
4
votes
0 answers

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 for some specific package. I figured it was a…
Parris
  • 329
  • 3
  • 16
4
votes
1 answer

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 running grunt docular-server. I think the problem in…
4
votes
1 answer

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 my automation software (that is running as local…
Guss
  • 2,520
  • 5
  • 32
  • 55
4
votes
3 answers

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 fails, presumably due to network hiccups, though…
Dan Fabulich
  • 477
  • 1
  • 6
  • 17
4
votes
2 answers

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 install express npm ERR! Error: EACCES, open…
Alex
  • 8,111
  • 24
  • 71
  • 99
3
votes
1 answer

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 changed something recently? Hope you can help me, I…
Emil Moe
  • 209
  • 2
  • 5
3
votes
0 answers

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 to openshift give no errors but when the code…
motleydev
  • 233
  • 1
  • 3
  • 5
3
votes
2 answers

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 does not satisfy its siblings' peerDependencies…
David S.
  • 181
  • 11
3
votes
1 answer

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":…
AJcodez
  • 233
  • 4
  • 11
3
votes
0 answers

Using SSH key for install npm module from private repository inside docker

I make container for nodejs project. Inside the project I am using private repository. I need an access to it. For that I am using next Dockerfile FROM node:15 RUN echo "StrictHostKeyChecking no" >> /etc/ssh/ssh_config RUN mkdir -p -m 0600 ~/.ssh…
Eugene
  • 157
  • 8
2
votes
2 answers

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 nodejs.org. The first command: curl -sL…
Lajdák Marek
  • 147
  • 1
  • 2
  • 7
1
2 3 4 5