Skip to content
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

RunAndroid: startServerInNewWindow() issue in fresh project. #21605

Closed
Utkarsh183 opened this issue Oct 9, 2018 · 4 comments
Closed

RunAndroid: startServerInNewWindow() issue in fresh project. #21605

Utkarsh183 opened this issue Oct 9, 2018 · 4 comments
Labels
Platform: Android Android applications. Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@Utkarsh183
Copy link

Fresh created project with react-native init.

If running "npm run start PORT=8081" or "react-native start" and thereafter "run-android" in another node.js command prompt window, it works fine.

When running "react-native run-android", it should open Node.js server in new window, but gives following error.

capture3

Something needs to be fixed, maybe PATH environment variable.

@Utkarsh183
Copy link
Author

//package.json

{
"name": "TestPro2",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"react": "16.5.0",
"react-native": "^0.57.0"
},
"devDependencies": {
"babel-jest": "23.6.0",
"jest": "23.6.0",
"metro-react-native-babel-preset": "0.48.0",
"react-test-renderer": "16.5.0"
},
"jest": {
"preset": "react-native"
}
}

@react-native-bot react-native-bot added the Platform: Android Android applications. label Oct 9, 2018
@react-native-bot
Copy link
Collaborator

Can you run react-native info and edit your issue to include these results under the Environment section?

If you believe this information is irrelevant to the reported issue, you may write [skip envinfo] under Environment to let us know.

@Utkarsh183
Copy link
Author

Utkarsh183 commented Oct 11, 2018 via email

@react-native-bot
Copy link
Collaborator

I am closing this issue because it does not contain the necessary environment info, and there has been no followup in a while.

If you found this thread after encountering the same issue in the latest release, please feel free to create a new issue with up-to-date information by clicking here.

@react-native-bot react-native-bot added the Ran Commands One of our bots successfully processed a command. label Oct 19, 2018
@facebook facebook locked as resolved and limited conversation to collaborators Oct 19, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Oct 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Platform: Android Android applications. Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

2 participants