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.

Support React-Native

See original GitHub issue

When install for react-native, it will throws :

transformed 732/776 (94%)(node:12140) UnhandledPromiseRejectionWarning: 
Unhandled promise rejection (rejection id: 1362): 

SyntaxError: TransformError: xxxapp\node_modules\flow-runtime\flow-runtime.js: 
Couldn't find preset "env" relative to directory "xxxapp\\node_modules\\flow-runtime"

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:24

github_iconTop GitHub Comments

3reactions
DaleLJeffersoncommented, Mar 30, 2017

React Native 0.42 fails to transform with an error from UIManager.

UIManager.js: Property value expected type of string but got null
TransformError: /Users/dale/Development/hydra/node_modules/react-native/Libraries/ReactNative/UIManager.js: /Users/dale/Development/hydra/node_modules/react-native/Libraries/ReactNative/UIManager.js: Property value expected type of string but got null

RCTFatal
-[RCTBatchedBridge stopLoadingWithError:]
__25-[RCTBatchedBridge start]_block_invoke_2
_dispatch_call_block_and_release
_dispatch_client_callout
_dispatch_main_queue_callback_4CF
__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
__CFRunLoopRun
CFRunLoopRunSpecific
GSEventRunModal
UIApplicationMain
main
start
// .babelrc

{
    "presets": ["react-native"],
    "env": {
        "development": {
            "plugins": [
                "transform-react-jsx-source",
                "transform-decorators-legacy",
                ["flow-runtime", {
                    "assert": true,
                    "annotate": true,
                }]
            ]
        }
    }
}
3reactions
maraujopcommented, Jan 30, 2017

@phpnode I’ve tried connecting flow-runtime with my React Native 0.39.2 project and packager fails to transform bundle, it hangs in react native StatusBar, not sure why.

So I’m guessing it doesn’t support it yet.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Where to get help - React Native
If you need help with your React Native app, the right place to go depends on the type of help that you need....
Read more >
Where To Get Support - React
Where To Get Support. React has a community of millions of developers. On this page we've listed some React-related communities that you can...
Read more >
React Native Support - Flipper
React Native Support ... Meta's React Native and Developer Tooling teams work in close collaboration to ensure Flipper offers top-notch out-of-the-box value for ......
Read more >
React Native Experts to Help, Mentor, Review Code & More
Find a freelance React Native expert for help with reviewing code, mentorship, tutoring, and other React Native help you might need.
Read more >
What Is React Native? Complex Guide for 2022 - Netguru
React Native is a name you hear a lot in the mobile app development world. ... it up with Android support, before taking...
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