Error during installation
See original GitHub issueI’m submitting a…
[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:
Current behavior
When installed via ‘npm i reaflow’ got errors:
npm WARN ERESOLVE overriding peer dependency npm WARN Found: framer-motion@4.1.17 npm WARN node_modules/framer-motion npm WARN framer-motion@"^4.1.4" from reaflow@4.2.1 npm WARN node_modules/reaflow npm WARN reaflow@"*" from the root project npm WARN npm WARN Could not resolve dependency: npm WARN peer framer-motion@"^3.0.0" from rdk@5.1.3 npm WARN node_modules/rdk npm WARN rdk@"^5.1.3" from reaflow@4.2.1 npm WARN node_modules/reaflow npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! Found: react@17.0.2 npm ERR! node_modules/react npm ERR! peer react@"*" from @testing-library/react@11.2.7 npm ERR! node_modules/@testing-library/react npm ERR! @testing-library/react@"^11.1.0" from the root project npm ERR! peer react@"17.0.2" from react-dom@17.0.2 npm ERR! node_modules/react-dom npm ERR! peer react-dom@"*" from @testing-library/react@11.2.7 npm ERR! node_modules/@testing-library/react npm ERR! @testing-library/react@"^11.1.0" from the root project npm ERR! react-dom@"^17.0.2" from the root project npm ERR! 4 more (reaflow, framer-motion, rdk, reakeys) npm ERR! 9 more (react-scripts, recoil, the root project, reaflow, ...) npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^16.3.0" from react-scrolllock@5.0.1 npm ERR! node_modules/rdk/node_modules/react-scrolllock npm ERR! react-scrolllock@"^5.0.1" from rdk@5.1.3 npm ERR! node_modules/rdk npm ERR! rdk@"^5.1.3" from reaflow@4.2.1 npm ERR! node_modules/reaflow npm ERR! reaflow@"*" 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.
Full report: eresolve-report.txt
It was possible to install successfully only with --legacy-peer-deps flag.
Minimal reproduction of the problem with instructions
cmd => npm i reaflow
Environment
Libs:
- react version: 17.0.2
Browser:
- [x] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
For Tooling issues:
- Node version: 16.5.0
- NPM version: 7.20.2
- Platform: Windows
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:11 (6 by maintainers)
Top GitHub Comments
I just figured that I’m not in the react-scrolllock repo - I’m so sorry! Thanks for your work.
Libs: