Questions tagged [npm]
66 questions
0
votes
1 answer
Npm install and ng build takes 35-40min
I have environment:
Jenkins
Docker
proxmox with vm and lxc container
angular 9 project
Problem is with my Dockerfile building, it takes around 35-40min.
My dockerfile
FROM node:12.6-stretch
ARG ABSOLUTE_PATH=./app
ARG build_command="node…

PawelC
- 149
- 1
- 11
0
votes
1 answer
domain "alias" in LAN
I have the following setup:
a registered domain, domain1.com, with several websites/webapps under different subdomains: sub1.domain1.com, sub2.domain1.com etc.
on my LAN I have a pfsense router and
a Nginx Proxy Manager(npm) which maps each…

popliviustefan
- 3
- 2
0
votes
2 answers
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/otheruser/.nvm/versions/node/v5.2.0/bin/pm2
I…

The Keeper
- 141
- 5
-1
votes
1 answer
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.
NPM installs are Godly slow.

ProfessorManhattan
- 217
- 1
- 5
-1
votes
1 answer
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?

balteo
- 63
- 2
- 9
-2
votes
1 answer
What's the magic path for npm when using sudo?
I remember I was able to use something like sudo ${which npm} run xxx when I needed root privilege to run npm. What is it?

Aero Windwalker
- 109
- 7