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
Running npx create-react-app --template=typescript myapp will create a package.json file which contains this:
"react-scripts": "4.0.0",
"typescript": "^4.0.3",
However, react-scripts@4.0.0 has a peer dependency on typescript@^3.2.1, which cannot be resolved alongside the typescript@^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.)
Activity
n3tr commentedon Nov 3, 2020
I believe this should be fixed once #9964 get merged 😄
chrisebejermt commentedon Nov 14, 2020
Good Evening! Any idea when this issue will be fixed? Unfortunately, my CI/CD is broken due to an error when running
NPM Install.