CRA has unmet peer dependencies
Created by: JeromeDeLeon
Whenever I installed new CRA using npx
, there are three unmet dependencies:
warning " > @testing-library/user-event@8.1.0" has unmet peer dependency "@testing-library/dom@>=5".
warning "react-scripts > eslint-config-react-app@5.2.0" has incorrect peer dependency "eslint-plugin-flowtype@3.x".
warning "react-scripts > @typescript-eslint/eslint-plugin > tsutils@3.17.1" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
I saw related PR for making TS optional, but what about those two?
I tried deleting node_modules
and even creating a new one, but still those warnings exist.