react-native start ERROR Packager can't listen on port 8081
来源:互联网 发布:云计算hcie待遇 编辑:程序博客网 时间:2024/05/17 01:01
D:\rnworkspace\Hello>react-native start
Scanning 568 folders for symlinks in D:\rnworkspace\Hello\node_modules (41ms)
┌──────────────────────────────────────
──────────────────────────────────────┐
│ Running packager on port 8081.
│
│
│
│ Keep this packager running while developing on any JS projects. Feel
│
│ free to close this tab and run your own packager instance if you
│
│ prefer.
│
│
│
│ https://github.com/facebook/react-native
│
│
│
└──────────────────────────────────────
──────────────────────────────────────┘
Looking for JS files in
D:\rnworkspace\Hello
ERROR Packager can't listen on port 8081
Most likely another process is already using this port
Run the following command to find out which process:
lsof -n -i4TCP:8081
You can either shut down the other process:
kill -9 <PID>
or run packager on different port.
See http://facebook.github.io/react-native/docs/troubleshooting.html
Scanning 568 folders for symlinks in D:\rnworkspace\Hello\node_modules (41ms)
┌──────────────────────────────────────
──────────────────────────────────────┐
│ Running packager on port 8081.
│
│
│
│ Keep this packager running while developing on any JS projects. Feel
│
│ free to close this tab and run your own packager instance if you
│
│ prefer.
│
│
│
│ https://github.com/facebook/react-native
│
│
│
└──────────────────────────────────────
──────────────────────────────────────┘
Looking for JS files in
D:\rnworkspace\Hello
ERROR Packager can't listen on port 8081
Most likely another process is already using this port
Run the following command to find out which process:
lsof -n -i4TCP:8081
You can either shut down the other process:
kill -9 <PID>
or run packager on different port.
See http://facebook.github.io/react-native/docs/troubleshooting.html
for common problems and solutions.
解决:
1.修改监听借口 ,命令如 react-native start --port=8088
2.找到占用端口的进程,删除 查找命令如下:
netstat -ano
tasklist|findstr "2720" //2720 是PID
1 0
- react-native start ERROR Packager can't listen on port 8081
- React-native start ERROR Packager can't listen on port 8081
- React native Packager can't listen on port 8081
- react flux的坑之(四) 真机调试 Packager can't listen on port 8081
- Unable to start gdbserver on port '63411' Can't open socket: Permission denied.的解决办法
- centos修改mysql端口Can't start server: Bind on TCP/IP port: Permission denied
- mysqld启动“ Can't start server: Bind on TCP/IP port: Address already in use Do you already have anothe
- Can't connect to 'localhost' on port 3306
- Error:Can't bind the tftp port! 解决办法
- 关于react-native遇到Can't find variable: TouchableHighlight
- react-native 解决 Can't find variable: __fbBatchedBridge
- 【原】react-native start EACCESS error for setup_env.sh
- react native 更新后packager启动失败:SyntaxError: Unexpected token ...
- ubuntu can't start eclipse and eclipse error
- Intellij Idea error:Can't start Git in MacOS
- Can't start server: can't create PID file: No space left on device
- Error: Can't connect to MySQL server on 'localhost' (10061)
- Latex Error: ! I can't write on file `xxx.log'.
- 1045 Fire Net 炮台问题(类似八皇后问题)深搜算法DFS
- 小议hashMap
- Python 头文件
- mysql error
- Java基础:IO 流中的 flush
- react-native start ERROR Packager can't listen on port 8081
- SAP GUI740 PATCH 11下载
- java输入输出流
- 免费的 pdf merge 合并工具
- C#中virtual和abstract的区别
- 有用的框架
- STL容器内元素条件
- MongoDB主要启动参数说明
- 1789 Doing Homework again 倒叙思想的贪心算法