question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[0.61.0-rc.0] No redbox is triggered when a file has errors

See original GitHub issue

React 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

  1. Create a new app with TypeScript template
react-native init RnSixtyOne --version react-native@0.61.0-rc.0 --template typescript
  1. cd RnSixtyOne && xed ios
  2. Build and run on a physical device that is connected to Xcode wirelessly
  3. Make sure Fast Refresh is turned on
  4. 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:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found