Closed meerkat-citronella closed 3 years ago
Update: the module seems to work fine on a newly-created React app.
It's still not working on my project tho, even after updating react and react-dom to ^17.0.1. Same error.
The issue is likely that you have old version of react-scripts.
You need at least react-scripts>=2.0.3
, ideally upgrade it to latest version if possible.
Here is the critical commit that makes the difference if you're interested: https://github.com/facebook/create-react-app/commit/3d4440812c62e692019f72503a60c6240df2f805
I'll take your word for it re: react-scripts... my app is having trouble updating to the latest version. I ended up not using the module anyway, as I needed the buttons to be larger than the largest size offered. So i made my own components. But thanks for the prompt response anyway! cheers.
Getting this error code when I try to run the example in the readme:
My code:
my package.json: