react-elastic-carousel icon indicating copy to clipboard operation
react-elastic-carousel copied to clipboard

Support with react 18

Open asheesh-hub opened this issue 2 years ago • 9 comments

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

asheesh-hub avatar May 25 '22 19:05 asheesh-hub

This doesn't work with react 18. peer react@"15 - 17"

asheesh-hub avatar May 25 '22 19:05 asheesh-hub

+1 This

gian-luca-weston avatar May 30 '22 14:05 gian-luca-weston

Same problem: react-elastic-carousel is not compatible with react 18. It works totally fine with --force. But this is no permanent solution.

`npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/react npm ERR! react@"^18.1.0" from the root project npm ERR! peer react@">=16.8.0" from @restart/[email protected] npm ERR! node_modules/@restart/hooks npm ERR! @restart/hooks@"^0.4.0" from @restart/[email protected] npm ERR! node_modules/@restart/ui npm ERR! @restart/ui@"^1.2.0" from [email protected] npm ERR! node_modules/react-bootstrap npm ERR! react-bootstrap@"^2.3.0" from the root project npm ERR! @restart/hooks@"^0.4.6" from [email protected] npm ERR! node_modules/react-bootstrap npm ERR! react-bootstrap@"^2.3.0" from the root project npm ERR! 12 more (@restart/ui, @testing-library/react, prop-types-extra, ...) npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"15 - 17" from [email protected] npm ERR! node_modules/react-elastic-carousel npm ERR! react-elastic-carousel@"^0.11.5" from the root project npm ERR! npm ERR! Conflicting peer dependency: [email protected] npm ERR! node_modules/react npm ERR! peer react@"15 - 17" from [email protected] npm ERR! node_modules/react-elastic-carousel npm ERR! react-elastic-carousel@"^0.11.5" 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! npm ERR! See C:\Users\stefa\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\stefa\AppData\Local\npm-cache_logs\2022-06-04T12_47_18_563Z-debug-0.log`

StefanAmEnde avatar Jun 04 '22 13:06 StefanAmEnde

+1 This

+1

lkowalczyk87 avatar Jun 24 '22 12:06 lkowalczyk87

+1

Mayank1403 avatar Jun 28 '22 02:06 Mayank1403

I've forked a version of this and added TS/React 18 support: https://www.npmjs.com/package/@itseasy21/react-elastic-carousel Hopefully, this helps :-)

itseasy21 avatar Jul 12 '22 13:07 itseasy21

@itseasy21 Thanks for the update

jaypee-0 avatar Jul 22 '22 11:07 jaypee-0

@itseasy21 Thanks my brother! You save my job ;)  🤩

sl1taz avatar Aug 05 '22 02:08 sl1taz

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Oct 15 '22 17:10 stale[bot]

@itseasy21 thx a lot dude !

SylvainGibert avatar Oct 28 '22 12:10 SylvainGibert