ueno-llc / react-native-starter

Professional react-native starter kit with everything you'll ever need to deploy rock solid apps
https://ueno-llc.github.io/react-native-starter
MIT License
573 stars 89 forks source link

Error with babel on signed Android APK #133

Closed varqasim closed 6 years ago

varqasim commented 6 years ago

I don't know if this is a problem with my code, but looking around the internet, turn out this is a problem regarding babel. I keep getting

TypeError: undefined is not a function (evaluating 'babelHelpers.objectDestructuringEmpty(e)') on one of my screens, and only that screen. I have checked the code multiple times, and didn't find any type of code that would raise such error. Many suggested removing the .babelrc file, but didn't help at all.

birkir commented 6 years ago

Good question. Have you tried removing rn-cli.config.js to see if it's an issue with typescript.

Is this on next or master?

Also make sure to start the packager yourself, do yarn start in new window then react-native run-android in separate terminal.

birkir commented 6 years ago

Closing due to inactivity. Feel free to open the issue again if you're still having problems.