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

边栏推荐
- 2022 Moonriver全球黑客松优胜项目名单
- 智慧党建: 穿越时空的信仰 | 7·1 献礼
- How to write good code - Defensive Programming Guide
- Seata中1.5.1 是否支持mysql8?
- Stonedb is building blocks for domestic databases, and the integrated real-time HTAP database based on MySQL is officially open source!
- ssm框架原理
- ATSs: automatically select samples to eliminate the difference between anchor based and anchor free object detection methods
- Problèmes rencontrés dans le développement de la GI pour maintenir le rythme cardiaque en vie
- Five years after graduation, I became a test development engineer with an annual salary of 30w+
- She is the "HR of others" | ones character
猜你喜欢

How long will it take to achieve digital immortality? Metacosmic holographic human avatar 8i

There is a difference between u-standard contract and currency standard contract. Will u-standard contract explode

2023届春招实习-个人面试过程和面经分享

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

Research on multi model architecture of ads computing power chip
![[PHP graduation design] design and implementation of textbook management system based on php+mysql+apache (graduation thesis + program source code) -- textbook management system](/img/04/11f24f12c52fb1f69e3d6f513d896b.png)
[PHP graduation design] design and implementation of textbook management system based on php+mysql+apache (graduation thesis + program source code) -- textbook management system

电脑屏幕变色了怎么调回来,电脑屏幕颜色怎么改

Crypto Daily:孙宇晨在MC12上倡议用数字化技术解决全球问题

Problèmes rencontrés dans le développement de la GI pour maintenir le rythme cardiaque en vie

Win11如何設置用戶權限?Win11設置用戶權限的方法
随机推荐
Can't global transactions be used when shardingjdbc is used in seate?
【开源数据】基于虚拟现实场景的跨模态(磁共振、脑磁图、眼动)人类空间记忆研究开源数据集
Which MySQL functions are currently supported by tablestore in table storage?
Smart Party Building: faith through time and space | 7.1 dedication
Share the daily work and welfare of DJI (Shenzhen headquarters) in Dajiang
#夏日挑战赛# HarmonyOS canvas实现时钟
process. env. NODE_ ENV
Stonedb is building blocks for domestic databases, and the integrated real-time HTAP database based on MySQL is officially open source!
怎么用MySQL语言进行行列装置?
MySQL的零拷贝技术
Nuxt.js数据预取
Win11如何设置用户权限?Win11设置用户权限的方法
ssm框架原理
揭秘慕思“智商税”:狂砸40亿搞营销,发明专利仅7项
How does win11 set user permissions? Win11 method of setting user permissions
Idea start command line is too long problem handling
Korean AI team plagiarizes shock academia! One tutor with 51 students, or plagiarism recidivist
高端程序员上班摸鱼指南
大龄测试/开发程序员该何去何从?是否会被时代抛弃?
How to write good code - Defensive Programming Guide
