skip to Main Content

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.

2

Answers


  1. Try to use this command, it works for me.

    npx react-native run-android --terminal
    
    Login or Signup to reply.
  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
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search