[0.46.3] fails to run on device
See original GitHub issueIs this a bug report?
yes
Environment
react-native-cli: 2.0.1
react-native: 0.46.3
node: v8.1.0
Target Platform: iOS
Steps to Reproduce
Build iOS app for release, and try to run it on the actual iOS device.
The app will crash with error:
Error reading bundle /var/containers/Bundle/Application/62A1S7F9-6795-4S7E-93B3-A2F17FC5BFCF/MyApp.app/main.jsbundle
On the simulator, the app runs fine. After downgrading to 0.45.1 everything worked on the device as well again.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:14
- Comments:10 (2 by maintainers)
Top Results From Across the Web
CSCuq36829 - ACS 5.5 - /var fills up to 100 ... - Cisco Bug
Symptom: /var fills up on ACS 5.5 and hence causes instability in the system. The system status shows up as Critical.
Read more >Sane/WIA/TWAIN: call get_device while this device is ... - GitLab
Try to call lis_api->get_device with the same device id in another app. Result: LIS_ERR_INTERNAL_UNKNOWN_ERROR is returned. Expected result:.
Read more >Build Failed Generated Build APK react native - Stack Overflow
This issue appears on RN 0.46.3 as stated on React Native's github: https://github.com/facebook/react-native/issues/14464.
Read more >execution failed for task ':app:mergedebugassets'. - You.com
when trying to run the application on any device i got the following error from file_picker What went wrong: Execution failed for task...
Read more >AMD Ryzen™ Chipset Driver Release Notes (2.17.25.506)
I2C power management option is hidden in device manager ... AMD does not provide support or service for issues or damages related to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Solved it. It seems that packager is trying to figure out node version installed on my system. The problem was that I am using nvm and default nvm node version was
v5.7.1
, and this was too old to build the app. However in my zsh config, I havenvm use v8.1.0
which is good, but it wasn’t picking upv8.1.0
while building the app. The solution was to markv8.1.0
as nvm default.@ivpusic Hi, I too have this problem. When I deploy my app to a device when compiled for
Release
I see:Error reading bundle /var/containers/Bundle/Application.../MyApp.app/main.jsbundle
I’m not using nvm - is there an alternative for brew? Node version is v8.2.0
Debug mode works fine (loading the bundle off my laptop)