-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
When i start my project using this library via npm start, this error occured.
source code
import React from 'react';
import ReactDom from 'react-dom';
import Carousel from 'react-image-carousel';
import '../style/appstyle.css';
const img = [
'/img/reactlogo.png',
'/img/sogae1.jpg'
];
class MyCarousel extends React.Component{
render(){
return (
<Carousel
images={img}
thumb={false}
loop={true}
autoplay={4000}
/>
);
}
}
export default MyCarousel;
detailed error message
./node_modules/react-image-carousel/lib/ReactImageCarousel.js
Module not found: Can't resolve 'react-transition-group' in 'C:[my project path]\myapp\node_modules\react-image-carousel\lib
i dont know it exactly, solved this problem by
npm i react-transition-group
thanks for provide useful library
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels