score:1
Accepted answer
In fact, instead of trying to --force the command about 10 times, we need to use the --legacy-peer-deps. Maybe force isn't the good choice everywhere.
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
Source: stackoverflow.com
Related Query
- npm unable to resolve dependency tree when create a ionic app React
- How to resolve npm ERR! ERESOLVE unable to resolve dependency tree - simple react lightbox?
- Cannot create React app as NPM is "unable to resolve dependency tree"
- Issue with babel-jest dependency when running npm start in a React app
- "ERESOLVE unable to resolve dependency tree" when installing npm react-facebook-login
- Missing Script when I run npm start to create React app
- unable to resolve dependency tree when installing @react-navigation/stack@5.14.3
- npm install unable to resolve dependency tree
- npm ERR! code ERESOLVE unable to resolve dependency tree
- Issue with Material UI Icons npm installation : unable to resolve dependency tree
- npm error: Cannot find module '.../immer.js' when building a create react app through CLI
- When to use a react framework such as Next or Gatsby vs Create React App
- Unable to resolve dependency tree Reactjs
- Cannot find module 'caniuse-lite/dist/unpacker/agents' when running create react app
- Create React App 4.0 cannot resolve image path in public folder
- Create React App Dependency Issue with Webpack
- npm ERR! 401 Unauthorized: @babel/core@7.1.0 when using creating new react app
- Unable to resolve dependency tree with eslint-config-airbnb
- create react app - npm run build issues
- Create React App with TypeScript and NPM Link: Enums causing Module parse failed
- How to make a npm package from Create React App /build folder?
- JSON Error when create react app
- I am unable to create react app using npx
- How do I resolve the React app error for npm run build "Failed to compile. Failed to minify the bundle."?
- Create React App Error when trying to run command npx create react app: spawn UNKNOWN
- Create React App - Unable to set window object before test runs
- React component bundled as an UMD can't load a dependency when imported via script tag in another react app
- Unable to access App component when using React Router
- 'render' is not defined when running create react app
- The react-scripts package provided by Create React App requires a dependency : Babel-Jest
More Query from same tag
- How to mock stateless child component event when testing parent component
- How to use react-scroll-parallax
- How to style React component with TailwindCSS
- How to set the correct typescript type for setValue in react-hook-form?
- How to edit bootstrap button `pull-right` in REACT? It is not responding (using bootstrap v3)
- Authenticated routes that can not be modified with the redux developer tools chrome extension
- TypeError: Cannot read property 'state' of undefined - function
- Dynamic access of environment variables in NextJS not working
- Testing JSX inside .map function using Enzyme
- Redux store reset on route change on his own with nextJS
- Undefined error when passing data to components
- Pushing New value to Array of Objects while keeping old one intact React Js Next Js
- React element change state from dom
- Uncaught (in promise) TypeError: Cannot read property 'images' of undefined(…)
- FabricViewStateManager: setState called without a StateWrapper
- Prism.js html examples in React
- React MomentJS get duration from start time and end time
- React js rerender of large number of components in a form
- called async function from state is not waiting (react)
- Changing route path in MemoryRouter in Enzyme tests
- React object and array iteration
- React find 3 highest values in an array
- JavaScript code isn't returning data from the API
- React share contents on social media
- How to remake and export/import function in React?
- Why does useParams during test return undefined in test env with wrapper?
- How to make a custom hook respond to changes in state?
- React useState hook is not working as expected inside useEffect hook
- Dynamic Component Name in ReactJS
- color cell based on the result of another column in react-table-6