You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to run npm run start inside of a docker container with kubernetes and skaffold. Everything compiles as expected, but after npm run start is run the app keeps restarting.
This happens for react-scripts version 3.4.1. After changing to version 3.2.0 everything is working as expected.
Yes. It is not working for new create-react-app istallations.
Which terms did you search for in User Guide?
skaffold
docker
kubernetes
Environment
I'm not sure whether it is relevant as the problem is happening inside of docker container, but here it is. Also it might be important that I'm doing this using minikube on windows.
current version of create-react-app: 3.4.1
running from C:\Users\maciek\AppData\Roaming\npm\node_modules\create-react-app
System:
OS: Windows 10 10.0.18362
CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
Binaries:
Node: 12.16.1 - C:\nodejs\node.EXE
Yarn: Not Found
npm: 6.13.4 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: 44.18362.449.0
Internet Explorer: 11.0.18362.1
npmPackages:
react: ^16.13.1 => 16.13.1
react-dom: ^16.13.1 => 16.13.1
react-scripts: 3.4.1 => 3.4.1
npmGlobalPackages:
create-react-app: Not Found
Steps to reproduce
(Write your steps here:)
run npx create-react-app
add Dockerfile:
FROM node:12-alpine
WORKDIR /app
EXPOSE 3000
CMD ["npm", "run", "start"]
COPY package* ./
RUN npm ci
COPY . .
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.
Describe the bug
I try to run
npm run start
inside of a docker container with kubernetes and skaffold. Everything compiles as expected, but afternpm run start
is run the app keeps restarting.This happens for react-scripts version 3.4.1. After changing to version 3.2.0 everything is working as expected.
my package.json:
Did you try recovering your dependencies?
Yes. It is not working for new create-react-app istallations.
Which terms did you search for in User Guide?
skaffold
docker
kubernetes
Environment
I'm not sure whether it is relevant as the problem is happening inside of docker container, but here it is. Also it might be important that I'm doing this using minikube on windows.
current version of create-react-app: 3.4.1
running from C:\Users\maciek\AppData\Roaming\npm\node_modules\create-react-app
System:
OS: Windows 10 10.0.18362
CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
Binaries:
Node: 12.16.1 - C:\nodejs\node.EXE
Yarn: Not Found
npm: 6.13.4 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: 44.18362.449.0
Internet Explorer: 11.0.18362.1
npmPackages:
react: ^16.13.1 => 16.13.1
react-dom: ^16.13.1 => 16.13.1
react-scripts: 3.4.1 => 3.4.1
npmGlobalPackages:
create-react-app: Not Found
Steps to reproduce
(Write your steps here:)
npx create-react-app
skaffold dev
Expected behavior
app should start listening on port 3000 inside a docker container. When run with reac-scripts 3.2.0 it works as expected:
Actual behavior
app keeps restarting:
The text was updated successfully, but these errors were encountered: