I am having this issue as well. I tried removing my node_modules and reinstalling, but I’m still getting
[exp] Failed building JavaScript bundle.
[exp] Error: Uncaught error in the transformer worker: /Users/tysoncadenhead/Sites/apps/VoiceChoice/node_modules/react-native/packager/transformer
[exp] at _transform.then.catch.error (/Users/tysoncadenhead/Sites/apps/VoiceChoice/node_modules/react-native/packager/src/JSTransformer/index.js:124:33)
[exp] at process._tickCallback (internal/process/next_tick.js:103:7)
[exp] react-packager has encountered an internal error, please check your terminal error output for more details
[exp] Packager url http://localhost:19001/./node_modules/react-native-scripts/build/bin/crna-entry.bundle?dev=false&minify=true&hot=false&assetPlugin=expo/tools/hashAssetFiles&platform=ios returned unexpected code 500. Please open your project in the Expo app and see if there are any errors. Also scroll up and make sure there were no errors or warnings when opening your project.
My app works in development without errors, but I am getting this error consistently when I do exp publish
or exp build:ios
Here is my package.json:
{
"name": "voice-choice",
"version": "0.0.0",
"private": true,
"main": "node_modules/expo/AppEntry.js",
"dependencies": {
"expo": "^18.0.4",
"firebase": "^4.1.3",
"ramda": "^0.24.1",
"react": "16.0.0-alpha.12",
"react-functional-lifecycle": "^2.0.2",
"react-native": "https://github.com/expo/react-native/archive/sdk-18.0.1.tar.gz",
"react-native-loading-spinner-overlay": "^0.5.0",
"react-navigation": "^1.0.0-beta.11",
"react-primitives": "^0.4.2",
"react-redux": "^5.0.5",
"recompose": "^0.23.5",
"redux": "^3.6.0",
"redux-devtools-extension": "^2.13.2"
}
}
and here is my app.json:
{
"expo": {
"privacy": "unlisted",
"name": "voice-choice",
"icon": "./assets/images/app-icon.png",
"description": "Choices for the non-verbal and limited verbal",
"sdkVersion": "18.0.0",
"orientation": "landscape",
"version": "1.0.0",
"slug": "voice-choice",
"ios": {
"bundleIdentifier": "com.tysoncadenhead.voicechoice",
"supportsTablet": true,
"isTabletOnly": true
},
"loading": {
"backgroundImage": "./assets/images/loading.png",
"backgroundColor": "#DA5D36",
"hideExponentText": true
}
}
}