-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RNTester doesn't work #23936
Labels
Comments
Can you run If you believe this information is irrelevant to the reported issue, you may write `[skip envinfo]` alongside an explanation in your Environment: section.
|
I ran next command in the cloned repository:
|
Thanks. I am on it. |
Still doesn't work. The same steps, the same errors. Did you try to install RNTester by yourself? |
facebook-github-bot
pushed a commit
that referenced
this issue
Mar 18, 2019
Summary: Landing D14472633 again which failed because of a metro-buck issue. Latest CLI requires `reactNativePath` to be explicitly set when `react-native` is not present under `node_modules` (which is the case when running from source). Fixes #23936 This PR also updates CLI to latest version and removes private calls to `findPlugins` (it's now exposed under public interface). We also remove custom `rn-cli.config.js` options that are no longer needed that we have `--reactNativePath`. I added them a month ago as a temporary workaround. [GENERAL] [FIXED] - Internal - Update to the latest CLI Pull Request resolved: #23940 Reviewed By: rickhanlonii Differential Revision: D14501686 Pulled By: cpojer fbshipit-source-id: c8dac71b3806d81c9d18b6d4a7e92d82962791f9
ping @grabbou |
Have you started packager? Run |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
🐛 Bug Report
I can't force to work your sample RNTester according to manual https://github.com/facebook/react-native/tree/master/RNTester
To Reproduce
git clone https://github.com/facebook/react-native.git
. It's OK!cd react-native
npm install
. It's OK, but shows some warnings:a) Set ANDROID_SDK and ANDROID_NDK (in ~/.bash_profile).
b) Create RNTester/android/local.properties (with sdk.dir and ndk.dir properties within).
./gradlew :RNTester:android:app:installDebug
. It's OK. Apk was installed on my android STB device../scripts/packager.sh
. It's FAILED. Output:error Unable to find React Native files. Make sure "react-native" module is installed in your project dependencies.
Then I open installed RNTesterApp on my device:
Logcat error:
Then I close RNTesterApp and run it again. It shows only white screen. Logcat:
Environment
Ubuntu 18.04.2 LTS
Android 6.0.1
The text was updated successfully, but these errors were encountered: