Comments (11)
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.
This doesn't work with react 18.
peer react@"15 - 17"
from react-elastic-carousel.
+1 This
from react-elastic-carousel.
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.
+1 This
from react-elastic-carousel.
+1
from react-elastic-carousel.
+1
from react-elastic-carousel.
@itseasy21 Thanks for the update
from react-elastic-carousel.
@itseasy21 Thanks my brother! You save my job ;) 🤩
from react-elastic-carousel.
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.
@itseasy21 thx a lot dude !
from react-elastic-carousel.
Related Issues (20)
- focusOnSelect conflict with enableMouseSwipe HOT 1
- Bug in importing {consts} in typescript HOT 6
- Unable to Copy Text in react-elastic-carosuel. HOT 1
- On page load if we have 4 items in carousel then items in carousel shifting to right end. HOT 1
- Wrong type for onChange of ReactElasticCarouselProps HOT 2
- Wrong type in RenderArrow prop document HOT 1
- Typescript Error, but Carousel is working on browser HOT 5
- `rec-slider` not resizing when window height changes HOT 2
- is there support for react 18? HOT 1
- Breakpoints not working properly HOT 2
- Unable to resolve dependency tree after React 18 update. HOT 1
- If enableAutoPlay is enabled then after last item it should move to first item HOT 1
- Buttons are not having discernible text. HOT 5
- Peer Dependency Issue with React 18
- Can you resolve peer dependency issue with react 18.There is ongoing project with react 18 so can you resolve the peer dependency with react 18. HOT 10
- Always show the three dots HOT 1
- the ReactElasticCarousel not have Children's props HOT 5
- Issues with peer dependencies
- React Elastic Carousel not installing.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-elastic-carousel.