yaodingyd/react-flickity-component

'Module not found, can't resolve 'flickity' with CRA

majac91 opened this issue · 1 comments

Importing Flickity component in a CRA app throws an error:

Module not found: Can't resolve 'flickity' in '/Users/maja/Desktop/Projects/fiberart-shop/node_modules/react-flickity-component/lib'

My config:

Screenshot 2021-01-25 at 21 25 00

Hi, you will also need to install flickity itself.

e.g:

npm install flickity