当前位置:网站首页>[nodemon] app crashed - waiting for file changes before starting...解决方法
[nodemon] app crashed - waiting for file changes before starting...解决方法
2022-07-01 16:04:00 【编程图一乐】
在请求服务器数据时候,用的5000端口,简略版如图:
然后报错,找了一下网上的方法,做个笔记:
1、修改 package.json里边的 dev启动项。
我这不行。
2、 杀掉进程
红色的核心报错语句是:[nodemon] app crashed - waiting for file changes before starting...
结合上面的一句Starting inspector on 127.0.0.1:9229 failed: address already in use
可以得知是因为9229端口已经被某个程序占用了,所以需要先kill对应的程序,项目才可以继续启动。
所以现在转变成了如何找到占用指定端口的程序,并将之kill
1.开始---->运行---->cmd,或者是window+R组合键,调出命令窗口
2.输入命令:
netstat -aon | findstr "5000"
查询下改端口的运行情况,我用的端口是5000.
记住最后那一栏的数字,是PID,这里是”21996“.
3.继续输入命令:
tasklist | findstr "21996"
查看是哪个进程或者程序占用了21996端口,结果很明显是:联想浏览器。
4、在任务管理器中结束进程即可。
边栏推荐
- Talking from mlperf: how to lead the next wave of AI accelerator
- 韩国AI团队抄袭震动学界!1个导师带51个学生,还是抄袭惯犯
- SQLServer查询: a.id与b.id相同时,a.id对应的a.p在b.id对应的b.p里找不到的话,就显示出这个a.id和a.p
- 表格存储中tablestore 目前支持mysql哪些函数呢?
- [pyGame practice] do you think it's magical? Pac Man + cutting fruit combine to create a new game you haven't played! (source code attached)
- Go语学习笔记 - gorm使用 - 表增删改查 | Web框架Gin(八)
- Malaysia's Star: Sun Yuchen is still adhering to the dream of digital economy in WTO MC12
- 【IDM】IDM下载器安装
- Telecommuting experience? Let's introduce ourselves ~ | community essay solicitation
- When ABAP screen switching, refresh the previous screen
猜你喜欢
[pyGame practice] do you think it's magical? Pac Man + cutting fruit combine to create a new game you haven't played! (source code attached)
2023 spring recruitment Internship - personal interview process and face-to-face experience sharing
Malaysia's Star: Sun Yuchen is still adhering to the dream of digital economy in WTO MC12
In the past six months, it has been invested by five "giants", and this intelligent driving "dark horse" is sought after by capital
vscode 查找 替换 一个文件夹下所有文件的数据
Win11如何设置用户权限?Win11设置用户权限的方法
C#/VB. Net merge PDF document
STM32F1与STM32CubeIDE编程实例-PWM驱动蜂鸣器生产旋律
Factory high-precision positioning management system, digital safety production management
Tanabata confession introduction: teach you to use your own profession to say love words, the success rate is 100%, I can only help you here ~ (programmer Series)
随机推荐
Solution to the problem that the keypad light does not light up when starting up
实现数字永生还有多久?元宇宙全息真人分身#8i
ABAP call restful API
Samsung took the lead in putting 3nm chips into production, and Shanghai's fresh master students can settle directly. Nankai has established a chip science center. Today, more big news is here
运动捕捉系统原理
u本位合约和币本位合约有区别,u本位合约会爆仓吗
AVL balanced binary search tree
HR interview: the most common interview questions and technical answers
Talking from mlperf: how to lead the next wave of AI accelerator
【LeetCode】43. String multiplication
[IDM] IDM downloader installation
Hardware development notes (9): basic process of hardware development, making a USB to RS232 module (8): create asm1117-3.3v package library and associate principle graphic devices
Idea start command line is too long problem handling
StoneDB 为国产数据库添砖加瓦,基于 MySQL 的一体化实时 HTAP 数据库正式开源!
There is a difference between u-standard contract and currency standard contract. Will u-standard contract explode
圈铁发音,动感与无噪强强出彩,魔浪HIFIair蓝牙耳机测评
[daily news]what happened to the corresponding author of latex
IM即时通讯开发实现心跳保活遇到的问题
最新NLP赛事实践总结!
In the era of super video, what kind of technology will become the base?