AlbericoD / overwolf-modern-react-boilerplate

OMRB is a free and open source opinionated boilerplate based on React that helps developers create fast, modular and modern overwolf app.
https://www.npmjs.com/package/cra-template-overwolf-typescript-redux
MIT License
55 stars 15 forks source link

`create-react-app` is deprecated and has old typescript compatibility #189

Open sansmoraxz opened 2 months ago

sansmoraxz commented 2 months ago

Is your feature request related to a problem? Please describe.

When I use the command to init the project

npx create-react-app my-app --template overwolf-typescript-redux

it results in npm failing to resolve dependencies without the --force flag.

npm ERR! Override for typescript@^5.4.5 conflicts with direct dependency

Describe the solution you'd like Maybe something like Vite. It can be a possible solution. Not sure if a new repo should be spun up for that.

Describe alternatives you've considered Manually downgrade typescript then npm run eject to get normal js files. Then upgrade typescript.

datagrind commented 1 month ago

After project init, I resolved it in this order: