-
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-Windows-Android #19654
Comments
It looks like your issue may be incomplete. Are all the fields required by the Issue Template filled out? If you believe your issue contains all the relevant information, let us know in order to have a maintainer remove the |
It's preferable to copy and paste the actual text output here into the issue. You can use a <detail></detail> box if it's too much text. It will allow others to stumble upon this issue using search, and it's also way more readable than a screenshot. |
I copy and paste the error output, can see under error screenshot. Hope that can be help |
The script is written for unix-like system. I am working on a pr to make it work on windows. You can check it here RNTester-windows. But I run into a issue in metro facebook/metro#181. You can try release build, but I run into some weird gradle error on windows #19758. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I created a pr for this issue #19974, but now it blocked by an metro issue. |
This comment has been minimized.
This comment has been minimized.
The pr has been complete, after it got merged you can take a try. |
I'm pretty sure the original reported problem has been fixed by updating Babel past the point of introducing the problem. If the issue is still open now (Metro 42.2, RN 0.57) please open a new ticket. |
@pvdz Nope, you can't run a bash file on windows. It's not just the type thing. The main purpose here is to debug RNTester on windows. |
Environment
Environment:
OS: Windows 10
Node: 10.4.0
Yarn: Not Found
npm: 6.1.0
Watchman: Not Found
Xcode: N/A
Android Studio: Not Found
Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: 0.55.4 => 0.55.4
Description
After Following instruction in Running on Android Section here
./gradlew :RNTester:android:app:installDebug
work well for installing app, and the app icon shows up as well in my emulator and devices too.but i got some error while run
./scripts/packager.sh
whiches run same asnode ./local-cli/cli.js start
i think.error text output
C:\Users\icreativelabs\Documents\react-native\local-cli\cliEntry.js:28
import type {CommandT} from './commands';
^^^^
SyntaxError: Unexpected identifier
at new Script (vm.js:74:7)
at createScript (vm.js:246:10)
at Object.runInThisContext (vm.js:298:10)
at Module._compile (internal/modules/cjs/loader.js:670:28)
at Module._compile (C:\Users\icreativelabs\Documents\react-native\node_modules\pirates\lib\index.js:91:24)
at Module._extensions..js (internal/modules/cjs/loader.js:713:10)
at Object.newLoader [as .js] (C:\Users\icreativelabs\Documents\react-native\node_modules\pirates\lib\index.js:96:7)
at Module.load (internal/modules/cjs/loader.js:612:32)
at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
at Function.Module._load (internal/modules/cjs/loader.js:543:3)
PS C:\Users\icreativelabs\Documents\react-native>
and i dont have an idea what happen, because i init new react native app
and run npm start or
node node_modules/react-native/local-cli/cli.js start
here result.
The text was updated successfully, but these errors were encountered: