[0.61.0-rc.0] No redbox is triggered when a file has errors
See original GitHub issueReact Native version: 0.61.0-rc.0
System:
OS: macOS 10.14.5
CPU: (4) x64 Intel(R) Core(TM) i5-6267U CPU @ 2.90GHz
Memory: 131.25 MB / 8.00 GB
Shell: 5.3 - /bin/zsh
Binaries:
Node: 10.16.1 - /usr/local/bin/node
Yarn: 1.15.2 - ~/.yarn/bin/yarn
npm: 6.9.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.4, macOS 10.14, tvOS 12.4, watchOS 5.3
Android SDK:
API Levels: 23, 25, 26, 27, 28
Build Tools: 23.0.1, 23.0.2, 23.0.3, 25.0.0, 25.0.1, 25.0.2, 25.0.3, 26.0.0, 26.0.1, 26.0.3, 27.0.2, 27.0.3, 28.0.3
System Images: android-25 | Google APIs Intel x86 Atom, android-26 | Google Play Intel x86 Atom, android-28 | Google APIs Intel x86 Atom
IDEs:
Android Studio: 3.4 AI-183.6156.11.34.5522156
Xcode: 10.3/10G8 - /usr/bin/xcodebuild
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.0-rc.0 => 0.61.0-rc.0
npmGlobalPackages:
create-react-native-app: 2.0.2
react-native-cli: 2.0.1
react-native-git-upgrade: 0.2.4
Steps To Reproduce
- Create a new app with TypeScript template
react-native init RnSixtyOne --version react-native@0.61.0-rc.0 --template typescript
cd RnSixtyOne && xed ios- Build and run on a physical device that is connected to Xcode wirelessly
- Make sure Fast Refresh is turned on
- Trigger a syntax error in the file:
- <Text style={styles.sectionTitle}>Step One</Text>
+ <Text style={styles.sectionTitle}Step One</Text>
Describe what you expected to happen:
A redbox should appear, according to @gaearon on Twitter this is the expected behavior
Snack, code example, screenshot, or link to a repository:
Just a vanilla RN repo, but maybe it’s faster to clone it that to create from scratch: https://github.com/JonnyBurger/rn-26260-repro
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Problems While Playing Disc - Redbox Help Center
There are a few reasons why your disc might not _play correctly. The list below offers a few remedies. 1. Clean the disc...
Read more >General Questions: Single Billing - Redbox
I rented using a promo code, but I see a "pending" charge on my statement. Is this an error? Nope, it's not an...
Read more >Redbox Terms of Use
FOR ANY REDBOX KIOSK TRANSACTIONS WHERE THE RENTED ITEM IS TO BE PICKED UP AT A KIOSK IN A JURISDICTION THAT DOES NOT...
Read more >Transaction History - Redbox
Transactions may take up to 48 hours to show up and will display for 90 days. To report a disc problem or get...
Read more >Your Account | Perks Info - Redbox
To receive eligible referral, your friend must sign up for Redbox Perks (having no preexisting Redbox Perks account) and make a rental or...
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 Free
Top 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

I’m landing a fix for this.
Looks like here’s why it’s broken:
https://github.com/facebook/react-native/blob/26a8d2e03ab4bba2dbdaae8d49397743c6a72859/Libraries/Core/NativeExceptionsManager.js#L91-L92
https://github.com/facebook/react-native/blame/26a8d2e03ab4bba2dbdaae8d49397743c6a72859/React/CoreModules/RCTExceptionsManager.mm#L92