Closed AndroidDoctorr closed 4 years ago
Nevermind, I needed to install babel-plugin-transform-class-properties
and include it in my .babelrc file:
{
"plugins": [
"transform-class-properties"
]
}
So for anyone else with this issue that's hopefully the solution
My project won't bundle after adding react-native-numeric-input. I installed the basic usage according to the readme
(I also have
number
set to 0 in the initial state) and I get this error:I have the following packages installed;
I've googled this error and it seems to be something related to babel, but I don't know anything about babel, and none of the other situations that give rise to this error seem similar or relevant, as far as I can tell...