Coder Social home page Coder Social logo

Comments (11)

itseasy21 avatar itseasy21 commented on June 1, 2024 9

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 :-)

from react-elastic-carousel.

asheesh-hub avatar asheesh-hub commented on June 1, 2024 2

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

from react-elastic-carousel.

gian-luca-weston avatar gian-luca-weston commented on June 1, 2024

+1 This

from react-elastic-carousel.

StefanAmEnde avatar StefanAmEnde commented on June 1, 2024

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`

from react-elastic-carousel.

ArturNicolaiewskyPellicioli avatar ArturNicolaiewskyPellicioli commented on June 1, 2024

+1 This

from react-elastic-carousel.

lkowalczyk87 avatar lkowalczyk87 commented on June 1, 2024

+1

from react-elastic-carousel.

Mayank1403 avatar Mayank1403 commented on June 1, 2024

+1

from react-elastic-carousel.

jaypee-0 avatar jaypee-0 commented on June 1, 2024

@itseasy21 Thanks for the update

from react-elastic-carousel.

sl1taz avatar sl1taz commented on June 1, 2024

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

from react-elastic-carousel.

stale avatar stale commented on June 1, 2024

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.

from react-elastic-carousel.

SylvainGibert avatar SylvainGibert commented on June 1, 2024

@itseasy21 thx a lot dude !

from react-elastic-carousel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.