alexkuz / cake-chart

Interactive multi-layer pie chart
MIT License
426 stars 45 forks source link

Can't resolve 'react/lib/ReactCSSTransitionGroup' #7

Open marnelfr opened 4 years ago

marnelfr commented 4 years ago

ERROR in ./node_modules/cake-chart/lib/components/CakeChart.js Module not found: Error: Can't resolve 'react/lib/ReactCSSTransitionGroup' in 'C:\Users\Marnel\Desktop\Last\marnelfr\node_modules\cake-chart\lib\components' @ ./node_modules/cake-chart/lib/components/CakeChart.js 51:39-83 @ ./node_modules/cake-chart/lib/index.js @ ./src/components/pages/curriculum/curriculum.js @ ./src/index.js

Error when trying to set up cake-chart. Help, please

marnelfr commented 4 years ago

react-css-transition-group is not in the npm registry. I installed react-addons-css-transition-group but still have the above error

mohitesh07 commented 3 years ago

I am also facing the same issue

    "react": "^17.0.2",
    "react-transition-group": "^4.4.2",
    "react-addons-css-transition-group": "^15.6.2",
    "cake-chart": "^0.2.3",
moskalyk commented 2 years ago

Encountered something similiar, fixed with cd node_modules/cake-chart and npm add @babel/runtime

alexkuz commented 2 years ago

ooh boy, completely forgot this thing exists