1

I am running a React Native Project and the command I used to run the app is npx react-native run-android. But by using this command, the node.js window open separatly and I want that the metro or node.js will also open in my terminal.

So, If there is any command for this. Please let me know.

1

2 Answers 2

2

To run the metro in the same terminal just run the below command.

npx react-native start

and if you are using yarn

yarn start
Sign up to request clarification or add additional context in comments.

1 Comment

npm start or npm react-native start both work for me.
1

Try to use this command, it works for me.

npx react-native run-android --terminal

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.