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
When running the npm install command in the ClientApp root errors with:
# npm resolution error report
While resolving: react-scripts@5.0.1
Found: typescript@5.0.4
node_modules/typescript
dev typescript@"^5.0.2" from the root project
Could not resolve dependency:
peerOptional typescript@"^3.2.1 || ^4" from react-scripts@5.0.1
node_modules/react-scripts
react-scripts@"^5.0.1" from the root project
Conflicting peer dependency: typescript@4.9.5
node_modules/typescript
peerOptional typescript@"^3.2.1 || ^4" from react-scripts@5.0.1
node_modules/react-scripts
react-scripts@"^5.0.1" from the root project
Fix the upstream dependency conflict, or retry
this command with --force or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.
The text was updated successfully, but these errors were encountered:
For those who, like me, just want to launch a project without learning a ton of stuff and feeling sick from typical situation when project from the internet only runs for a few days without errors:
the error goes away when the line "typescript": "^5.0.2" is deleted from ".\ClientApp\package.json" file. Don't think that this dependency is crucial.
When running the
npm install
command in the ClientApp root errors with:The text was updated successfully, but these errors were encountered: