Closed JianyuZhan closed 1 month ago
Hi - this doesn't seem to happen for anyone else. Can you make sure to delete your node_modules and package-lock file and re-install?
As the error says you may have mismatched versions of react
Hi - this doesn't seem to happen for anyone else. Can you make sure to delete your node_modules and package-lock file and re-install?
As the error says you may have mismatched versions of react
I've tried rm -rf node_modules
then npm install
but failed again, so I started from scratch to reinstall everything, it works now.
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
I am trying the minimal rechart demo code, get the below error:
My code:
ErrorBoundary.js:
Demo 'App.js':
Which versions of Recharts, and which browser / OS are affected by this issue? Did this work in previous versions of Recharts?
Ubuntu 22.04 Chrome Version 127.0.6533.89 (Official Build) (arm64) BTW, the 'npm start' in running on the remote machine(which runs Ubuntu 22.04), and I use Chrome on my local Macbook to access the UI
├── react-dom@18.3.1 ├── react-router-dom@6.26.0 ├── react-scripts@5.0.1 ├── react@18.3.1 ├── recharts@2.12.7
I've tried downgraded rechart version, but still got the same error.