fastapi-react icon indicating copy to clipboard operation
fastapi-react copied to clipboard

incompatibility between react-scripts and typescript versions

Open cardoe opened this issue 4 years ago • 1 comments

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.

cardoe avatar Nov 02 '21 02:11 cardoe

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.

GoronWow avatar Nov 08 '22 19:11 GoronWow