fastapi-react
fastapi-react copied to clipboard
incompatibility between react-scripts and typescript versions
react-scripts used by this project and typescript used are incompatible with each other. react-scripts 3.x have a peer dependency on typescript < 4 while this project pulls in typescript 4.0.2. This results in the default not working out of the box.
Nice find,
This fixed it for me, not sure if its the proper way. Changing typescript version to "typescript": "^3.0.2", in package.json and rebuilding with docker compose build worked for me.