All Questions
35
questions
0
votes
0
answers
234
views
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
...
2
votes
1
answer
14k
views
how to fix the npm install fails with 'An unknown git error occurred' in one folder but works in a another folder
My Server runs on Centos 8 and I installed nodejs latest (v14.17.5) and NPM (v7.21.0), both dont have a .git folder in there.
I have a very very strange issue, If I goto folder example1.com, and run ...
0
votes
2
answers
942
views
Program installed for one user cannot be accessed from other user even full path is provided
I have all the npm pacakages installed for a particular user (i.e) not root (/home/otheruser/*)
I am using monit to see whether to check the program is running. In this case its pm2, which is in
/home/...
1
vote
1
answer
294
views
How to assign which user to execute commands inside the container in AWS FARGATE
i'm trying to launch a nodejs container using AWS FARGATE, the problem i'm facing is that fargate gives me this error :
cannot find this module "/path/to/file/webrtc.js"
And when i execute ...
4
votes
3
answers
21k
views
How to configure Systemd service unit to start Node app with "npm start" instead of "app.js"
Environment: CentOS 8, Node.js, Digital Ocean Droplet
My Systemd setup starts a node app with the following command. It works as expected.
$ sudo systemctl start myapp
File 1: /etc/systemd/system/...
1
vote
1
answer
3k
views
NPM issue, where to start
Hopefully this is the right forum to post. Coming stack overflow but I think this is more you guys' expertise.
I have a centos 6.10 box. It had Node.js and npm running ok. I don't know which versions ...
5
votes
3
answers
5k
views
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 ...
1
vote
1
answer
295
views
gcloud deploy not making dist folder
Admittedly, I'm a novice at GCloud. I "inherited" a project abandoned by the previous developer. I'm trying to deploy a node app on the app engine. The app won't start because it can't find the ...
0
votes
1
answer
490
views
Mint, unable to install new version of NodeJS and NPM [closed]
I am unable to install a newer version of NodeJS than 8.10.0 on my Linux Mint machine. I've added repositories of newer versions (10.x and 11.x) via bash but neither works, apt does not find any ...
0
votes
0
answers
4k
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
1
answer
13k
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
...
1
vote
1
answer
839
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
1
answer
987
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
1
answer
121
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
1
answer
861
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
1
answer
5k
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
1
answer
521
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
2
answers
2k
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 ...
3
votes
0
answers
805
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
1
answer
162
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:
[email protected] /var/www/helloworld
*** ...
1
vote
0
answers
752
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 ...
2
votes
1
answer
4k
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
1
answer
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
1
answer
840
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
1
answer
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
2
answers
241
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
8
answers
66k
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
1
answer
4k
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 ...
1
vote
1
answer
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
0
answers
635
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 ...
2
votes
1
answer
6k
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
3
answers
20k
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 ...
20
votes
1
answer
55k
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
1
answer
517
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
2
answers
4k
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 ...