Skip to main content

All Questions

Tagged with
1 vote
1 answer
36 views

ng not found error when building Angular project using dockerfile

I came into a very strange issue yesterday. I have been working on an Angular project and deploying using docker. Everything works fine till yesterday, all of sudden I cannot build the docker image. ...
AoLiGei's user avatar
  • 51
0 votes
0 answers
24 views

Docker Image Build with Local Packages

I saw some other questions that never answered this question. I have a NextJs project that I am dockerizing. The projects uses a local dependency, which is a generated api client using the OpenAPI ...
Lacrosse343's user avatar
1 vote
0 answers
11 views

VSCode debugger attachment to docker container

I'm having docker container which runs web and api application with two different ports. Is it possible to attach my vscode debugger to the docker container? I'm using node apps for both Mostly the ...
Pandiyan Cool's user avatar
0 votes
1 answer
32 views

/node_modules/.bin/../node/bin/node: 1: This: not found

Problem: I set up a Docker Compose on my Linux (Kubuntu) laptop that includes a python container which runs Django and uses React for a Frontend. When I brought the Docker files over to my Windows 10 ...
cdyswnnr's user avatar
0 votes
1 answer
38 views

Concatenate a string and run it as a command in Makefile (the first double dash disappears)

Sorry for my english in advance. I've got nothing installed locally on my pc except the docker. For example, I prefer running npm commands in Makefile like this: #!/usr/bin/make TAG := 20.6.0 USER := ...
forever_young's user avatar
1 vote
1 answer
85 views

node: npm install takes forever and can't finish

I have problem after I tried npm install on docker. Now when I try npm install on my localhost PC even without docker my npm install never finished. In the log file is something about fsevents module ...
laden's user avatar
  • 11
0 votes
0 answers
21 views

Different result in different machine when building image from Dockerfile

I maintain an old application running on docker using image FROM node:12.22.7. Since this is an old application, it can only use specific version of npm packages. I use docker in my Mac and Windows ...
Error Overflow's user avatar
1 vote
1 answer
70 views

Unable to find module index.js in Google Cloud VM Docker

I am a facing an error where a docker container is not able to start after deploying to GCP Cloud Compute Engine VM. However, it is able to start normally on my local mac m3 chip machine. The error ...
cornstar94's user avatar
0 votes
1 answer
73 views

Error installing spago@next using npm on node:22 Docker image

I am trying to set up a Docker development environment with PureScript. While trying to install Spago I get an error from the Docker builder. I am using the "node:22" image as a starting ...
John F. Miller's user avatar
0 votes
0 answers
76 views

Docker/NPM - Self-signed certificate in chain issue

My company has a self-signed certificate within our network that I cannot get around. I have added the cert to both my Windows and WSL cert stores and verified they work. However, when I build an ...
Matt M's user avatar
  • 1,325
0 votes
0 answers
34 views

'docker-compose up' causing node build to fail when shifted from m1 pro to m3 pro

I have a nestjs app which I run using docker-compose up (along with a db and a redis container). My dockerfile is a standard one for node projects where I use a [email protected] image, install packages and ...
Muhammad Usama's user avatar
0 votes
0 answers
65 views

Error with `copyfiles` command When Building Docker Image: failed with exit code 127

Description: I'm facing an issue while building a Docker image for my frontend application based on the Payload CMS ecommerce template. You can run npx create-payload-app to try installing ecommerce ...
kawa's user avatar
  • 449
0 votes
0 answers
69 views

Docker and npm installations failing with "bad record MAC" error due to slow network on mobile hotspot

I've been encountering a persistent issue while working with Docker and npm installations on my system. Whenever I try to run docker build . -t <image_name> or npm install, I consistently ...
Anantashayana's user avatar
0 votes
0 answers
41 views

Setting up runtime environment variables in VITE React

I am using VITE React setup for my project. I am not able to change the environment variables during runtime as I understand Vite expects all environment variables during build time. I have gone ...
Nikhil's user avatar
  • 99
0 votes
2 answers
77 views

Cant install @types/node by docker RUN inside docker file

When I use the following Dockerfile: FROM node:22-alpine ENV NODE_ENV production WORKDIR /usr/web-server RUN npm i -g @nestjs/cli typescript COPY ./package*.json ./ RUN npm install RUN npm ...
Dm Prkp's user avatar
  • 110

15 30 50 per page
1
2 3 4 5
77