create-react-app --template typescript
creates unresolvable dependency conflict
#9995
Labels
create-react-app --template typescript
creates unresolvable dependency conflict
#9995
Running
npx create-react-app --template=typescript myapp
will create apackage.json
file which contains this:However,
[email protected]
has a peer dependency ontypescript@^3.2.1
, which cannot be resolved alongside thetypescript@^4.0.3
dependency added to the root package.json.Suggest installing
typescript@^3.2.1
instead.(Note: this does not fail in yarn or npm 6, because these do not install peerDependencies, but it is likely that unexpected errors will occur as a result.)
The text was updated successfully, but these errors were encountered: