简体   繁体   中英

React- Native by Intellij IDEA

How can I run React-Native apps by Intellij IDEA.

Metro Bundler can't listen on port 8081

when I change port, the same error given

If you are really changing the port, you shouldn't receive the same error. This error generally happens because there is a process already running on this door, if you are using Linux, try fuser -k 8081/tcp, that will kill the process running on that door.

in my case, just remove the 'start React Native Bundler' before launch task.

some other script will start the bundler too, so 8081 port is in use.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM