Open Nerevar123 opened 3 years ago
Thanks for reporting. Can you share the react versions you are using?
Libs:
Hey @amcdnl any update on this? Not supporting React 17 is a bit of a deal breaker. Thanks!
It supports React 17 - in fact the storybook runs on 17.
It looks like this issue is stuck at @testing-library/react@11.2.7
. This was updated recently but I went ahead and bumped it again this morning. Can you retry on latest version?
Thanks for taking a look, but 4.2.3 still has the same problem for me. I'm no expert but to me it looks like the problem is with react-scrolllock
in rdk
which is pinned to react ^16.3.0
. Unfortunately it doesn't look like that package has been updated for a while and there is already an issue open from Feb with no response (https://github.com/jossmac/react-scrolllock/issues/85).
Got it! OK - I should be able to fork that and publish a version that supports this to resolve this issue.
Same problem here
This project seems dead - has anyone got a good alternative?
@sandrooco - Not dead - just busy. Happy to accept any PRs though.
@sandrooco - Not dead - just busy. Happy to accept any PRs though.
I just figured that I'm not in the react-scrolllock repo - I'm so sorry! Thanks for your work.
@sandrooco - We can move off that scrolllock to something else ( but that is in reaviz/rdk - not this project - but this project uses it internally ). Let me know what you figure out...
I'm submitting a...
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