Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
29 views

How to properly package a Node.js and React app stripping the container of all unneeded files?

I have a Node.js backend that serves up the React frontend (later I can do CDN probably) and for now, I plan on disallowing CORS so React must talk to my Node.js backend only. The prototype for this ...
Dean Hiller's user avatar
  • 19.8k
0 votes
0 answers
19 views

EPIPE error when starting Vite and React project

I'm facing a problem when trying to start my application using Vite and React, published through Jenkins and monitored by Grafana. The EPIPE error occurs repeatedly, and the application constantly ...
Wesley Raeel's user avatar
0 votes
0 answers
22 views

React App in Docker with Nginx Serving Without CSS

I am trying to deploy a React application using Docker and serve it with Nginx, mostly based on this. The app works perfectly when running locally using npm start, but when served through Docker and ...
Feds.null's user avatar
0 votes
1 answer
55 views

docker image push to container registry

vineescar@Vijeyakumars-MacBook-Pro palaly-expression-builder % docker push ruleengine.azurecr.io/ruleengine:latest The push refers to repository [ruleengine.azurecr.io/ruleengine] bf45d8951c0e: Layer ...
vijeyakumar vineescar's user avatar
0 votes
0 answers
43 views

How to store and use encryption key securely?

I implemented AES 256 CBC to encypt sensitive data. The back end(laravel) and front end(react js) are running in containers using docker. I would like to store encryption key and use it in front and ...
user26307664's user avatar
0 votes
0 answers
84 views

I'm getting an error while dockerizing a vite react app. RUN npm install in Dockerfile with npm ERR! code ERESOLVE

While trying to dockerize vite react app using "docker build . -t "cmsxeramed-frontend:v1.0"" i got the following error in Docker Desktop: FROM node:19.5.0-alpine WORKDIR /app COPY ...
Xeranor's user avatar
  • 11
1 vote
1 answer
31 views

VSCode dev-containers unable to import npm packages

I've spent lots of time debugging why I can't resolve imports in VSCode Dev-Container IDE – MY REPO. When I start my frontend dev-container, the imports from /node_modules return error "Cannot ...
Ethan Cavill's user avatar
0 votes
0 answers
34 views

How to change date filter format in material react table?

I have a material react table component to display table data in my project, dates and date filters should be in dd.mm.yyyy format, but by default it is mm/dd/yyyy. After using Localization provider ...
JafoLeo's user avatar
  • 13
0 votes
1 answer
122 views

Docker serve react app with nginx not working

Here is my situation. I have a working Laravel application running in docker with its front end in angular js embedded in Laravel itself. Now I am developing new front end for the application that is ...
Saani's user avatar
  • 762
0 votes
0 answers
20 views

compose.yaml: services.web Additional property watch is not allowed

I am trying to run docker-compose up command in Windows, but I am getting this error. Here is my compose.yaml file: ` # version of docker compose version: '3.8' services: # web service for react ...
Ayush Sharma's user avatar
1 vote
1 answer
54 views

node server not accessible in docker container on aws

I made a react web app which gets built with a dockerfile and supervisord.conf and deployed to an aws container with a load balancer. My react app runs on localhost:3000, and is accessibly at http://...
Martin's user avatar
  • 1,596
0 votes
0 answers
45 views

WebSocketClient.js:13 WebSocket connection to 'ws://localhost:3000/ws' failed:

When I try to run this code on browser it display buttons but when I click on the button "WebSocketClient.js:13 WebSocket connection to 'ws://localhost:3000/ws' failed: " error throws. My ...
user43004's user avatar
  • 217
0 votes
2 answers
68 views

React nextjs app with next-auth in docker: connection refused 127.0.0.1

I have a react app built using nextjs and next-auth and used keycloak running in docker container for identity and access management. Everything works fine if I run the nextjs app outside container ...
iaq's user avatar
  • 193
-1 votes
1 answer
52 views

Develop a react application from Docker

I want to develop react application but i don't have node and npm(Unable to install because i've restriction). I've decided to use docker. But whenever i did changes it's not reflecting. This is my ...
dinesh palganesan's user avatar
0 votes
0 answers
42 views

REACT-VITE-DOCKER ERROR: Could not resolve entry module "index.html". error during build: RollupError: Could not resolve entry module "index.html"

Im migrating my existing React-Vite app into a docker container, but I keep getting this error when running the docker build command: \> [email protected] postinstall > npm run build > vite-...
Alejandro González Almazán's user avatar

15 30 50 per page
1
2 3 4 5
101