Cannot install recoil with latest react version 17.0.1
See original GitHub issueI tried to install recoil in a fresh create-react-app project and this error has accord:
❯ npm install recoil
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: my-app@0.1.0
npm ERR! Found: react@17.0.1
npm ERR! node_modules/react
npm ERR! react@"^17.0.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.13.1" from recoil@0.1.2
npm ERR! node_modules/recoil
npm ERR! recoil@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
Maybe updating the project’s react peer dependency from 17.0.0 to 17.0.1 would solve this issue.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Installation - Recoil
Installation. NPM. The Recoil package lives in npm. To install the latest stable version, run the following command: npm install recoil
Read more >React - Error while updating from 17.0.1 to 17.0.2 [duplicate]
You have dependency conflict which will create this problem. I suggest solve using --force or --legacy-peer-deps . So try : npm install ......
Read more >recoil - npm
Recoil - A state management library for React. Latest version: 0.7.6, last published: 3 months ago. Start using recoil in your project by ......
Read more >How to Use Recoil for State Management in Your React Projects
Let's start by installing the library. If you are working on your local computer, you can install Recoil using npm or yarn ....
Read more >React + Recoil - JWT Authentication Tutorial & Example
Recoil is a new state management library built by the Facebook team that ... Anything that doesn't fit into the other folders and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks, it works perfectly fine now.
hey @frustak @zkSharks can you test with latest version 0.1.3?