Questions tagged [npm]
The npm tag has no summary.
72 questions
0
votes
0
answers
112
views
NPM cannot connect to server using Websocket
I have a web application that communicates with a server using Websockets. When I access it directly, it works without problems. Unfortunately, when I access it through Nginx Proxy Manager, I get the ...
1
vote
1
answer
683
views
How to tell if my project / server was compromised by the shai hulud npm supply chain attack?
On September 15 2025, a npm supply chain attack named shai hulud was discovered. It extracts extracts secrets from git repositories, either by injecting github actions and trufflehog.
From my ...
0
votes
0
answers
51
views
How can I know which system libraries managed by Ubuntu apt an npm build using node-gyp depends on?
I have a nodejs-based project running on my Ubuntu server, using the usual node_modules folder of dependencies. Some of them where (eg. "ws" in this case) where automatically compiled using ...
0
votes
0
answers
61
views
What kind of garbage is been accumulated when execute the Docker repeatedly? (Node.js, "ENOSPC: no space left on device" error) [duplicate]
My VPS has Ubuntu 22.04.4 LTS.
I got the message from the Docker container when installed the npm dependencies inside this container:
> [front_server 4/4] RUN npm install --no-package-lock:
36.78 ...
0
votes
0
answers
55
views
Remote access does not work like localhost
I can install this package and browse using localhost:3000 as address.
git clone https://github.com/allotropia/zetajs.git
cd zetajs/examples/letter-address-tool
npm install
npm start
I got these ...
0
votes
1
answer
274
views
Subdomains from NPM dont work via Dynv6-Main-Zone
Today I got a new Router.
Unfortunately I only get DS-lite from now on.
Extra DS does cost a lot extra for private usage.
I have 3 Webserver publically reachable: Jellyfin, Nextcloud and Home ...
0
votes
1
answer
324
views
Why are internal resources accessed via NPM arriving from my public IP address?
Situation: I have a domain, let's say mydomain.com.
On a server in my local network, I have a few services running, including Nginx Proxy Manager.
In NPM, I have configured various hosts such as ...
0
votes
1
answer
2k
views
How to have nexus download the newest package from npmjs official site when package is not present in local
I have updated the npmjs package to 0.1.148, but when I update the package in macOS using this pnpm command:
> pnpm update --force
WARN using --force I sure hope you know what you are doing
...
1
vote
1
answer
3k
views
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 ...
3
votes
1
answer
3k
views
Library Error while installing NPM on Ubuntu 22.04 LTS
I'm trying to install NPM on Ubuntu 22.04 LTS;
How can I fix this problem?
Step 1:
user@ubuntu:~$ sudo apt-get update
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease ...
0
votes
1
answer
768
views
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 ...
5
votes
1
answer
21k
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 ...
3
votes
0
answers
5k
views
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&...
0
votes
2
answers
2k
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/...
2
votes
0
answers
1k
views
WSL2 on Windows 10 - installed NVM, Node but can't install any package
I have WSL 2 on my Windows 10 (* Ubuntu-20.04 Running 2). I installed nvm and node on it.
nvm --version: 0.35.3
nvm ls:
-> v14.11.0
default -> node (-> v14.11.0)
node -> stable (->...