Unable to recognize JS server

前端 未结 1 1467
感动是毒
感动是毒 2021-01-12 20:26

I was trying to setup react native for android. When I finally try to run the application, with react-native run-android, I get a message JS server no

相关标签:
1条回答
  • 2021-01-12 20:55

    This message means you have another service listening on port 8081, so the JS packager can't be started. You can find what process is blocking the port by running:

    lsof -n -i4TCP:8081 | grep LISTEN
    

    You can stop/kill this process and then run react-native run-android again.

    0 讨论(0)
提交回复
热议问题