Open walidvb opened 8 years ago
EDIT: Previous solution didn't actually worked.
Following should work for react-native version: 0.33
According to this there might be conflicting .babelrc. In my case it was redux-ui itself.
So I had to delete it:
rm node_modules/redux-ui/.babelrc
Then installed (version 1.0.1)
npm i babel-preset-react-native-stage-0 --save-dev
Created .babelrc in root dir with:
{
"presets": [
"react-native-stage-0/decorator-support"
]
}
Reset cache after installing modules:
watchman watch-del-all
./node_modules/react-native/packager/packager.sh start --reset-cache
Hey,
Couldn't find any help online or in IRC. I keep getting a compilation error when building:
I can't figure out what configuration to change to get it to work :( . here is my project: https://github.com/walidvb/passsport-mobile/tree/redux-ui
Thanks!