当前位置:网站首页>[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、在任务管理器中结束进程即可。

边栏推荐
- 并发编程系列之什么是ForkJoin框架?
- StoneDB 为国产数据库添砖加瓦,基于 MySQL 的一体化实时 HTAP 数据库正式开源!
- 【Hot100】20. Valid parentheses
- Five years after graduation, I became a test development engineer with an annual salary of 30w+
- Where should older test / development programmers go? Will it be abandoned by the times?
- 【SQL语句】请问这边为什么select出了两个上海,查询出了不同的count我想让他变成一个上海,count只显示一个总和
- What is the forkjoin framework in the concurrent programming series?
- 工厂高精度定位管理系统,数字化安全生产管理
- ATSs: automatically select samples to eliminate the difference between anchor based and anchor free object detection methods
- When ABAP screen switching, refresh the previous screen
猜你喜欢

Pico,是要拯救还是带偏消费级VR?
![[每日一氵]Latex 的通讯作者怎么搞](/img/0f/d19b27dc42124c89993dee1bada838.png)
[每日一氵]Latex 的通讯作者怎么搞

揭秘慕思“智商税”:狂砸40亿搞营销,发明专利仅7项

Win11如何設置用戶權限?Win11設置用戶權限的方法

vscode 查找 替换 一个文件夹下所有文件的数据

Stonedb is building blocks for domestic databases, and the integrated real-time HTAP database based on MySQL is officially open source!

ATSS:自动选择样本,消除Anchor based和Anchor free物体检测方法之间的差别
![[open source data] open source data set for cross modal (MRI, Meg, eye movement) human spatial memory research based on virtual reality scenes](/img/73/98e4847783be26d86d147425ce3ecd.jpg)
[open source data] open source data set for cross modal (MRI, Meg, eye movement) human spatial memory research based on virtual reality scenes

Guide for high-end programmers to fish at work

What time do you get off work?!!!
随机推荐
Sqlserver query: when a.id is the same as b.id, and the A.P corresponding to a.id cannot be found in the B.P corresponding to b.id, the a.id and A.P will be displayed
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)
July 1, 2022 Daily: Google's new research: Minerva, using language models to solve quantitative reasoning problems
Principle of motion capture system
IM即时通讯开发万人群聊消息投递方案
使用腾讯云搭建图床服务
【Hot100】17. Letter combination of telephone number
综述 | 激光与视觉融合SLAM
ABAP call restful API
投稿开奖丨轻量应用服务器征文活动(5月)奖励公布
Pico, can we save consumer VR?
How to write good code - Defensive Programming Guide
Smart Party Building: faith through time and space | 7.1 dedication
2022 Moonriver全球黑客松优胜项目名单
Pico,是要拯救还是带偏消费级VR?
[每日一氵]Latex 的通讯作者怎么搞
Some abilities can't be learned from work. Look at this article, more than 90% of peers
HR interview: the most common interview questions and technical answers
How long will it take to achieve digital immortality? Metacosmic holographic human avatar 8i
[SQL statement] Why do you select two Shanghai and query different counts here? I want it to become a Shanghai, and count only displays a sum
