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

边栏推荐
- How does win11 set user permissions? Win11 method of setting user permissions
- 怎么用MySQL语言进行行列装置?
- laravel的模型删除后动作
- How to adjust the color of the computer screen and how to change the color of the computer screen
- u本位合约和币本位合约有区别,u本位合约会爆仓吗
- 学会了selenium 模拟鼠标操作,你就可以偷懒点点点了
- 揭秘慕思“智商税”:狂砸40亿搞营销,发明专利仅7项
- #夏日挑战赛# HarmonyOS canvas实现时钟
- Learn selenium to simulate mouse operation, and you can be lazy a little bit
- [IDM] IDM downloader installation
猜你喜欢

Pico,是要拯救还是带偏消费级VR?

【Hot100】19. Delete the penultimate node of the linked list

从大湾区“1小时生活圈”看我国智慧交通建设

圈铁发音,动感与无噪强强出彩,魔浪HIFIair蓝牙耳机测评

搜索框和按钮缩放时会有缝隙的bug

The Department came to a Post-00 test paper king who took out 25K. The veteran said it was really dry, but it had been

普通二本,去过阿里外包,到现在年薪40W+的高级测试工程师,我的两年转行心酸经历...

【Hot100】19. 删除链表的倒数第 N 个结点

Zhou Shaojian, rare

大龄测试/开发程序员该何去何从?是否会被时代抛弃?
随机推荐
【Hot100】20. Valid parentheses
Problems encountered in IM instant messaging development to maintain heartbeat
AVL balanced binary search tree
电脑照片尺寸如何调整成自己想要的
Trace the source of drugs and tamp the safety dike
Can't global transactions be used when shardingjdbc is used in seate?
How to adjust the size of computer photos to what you want
【Hot100】19. 删除链表的倒数第 N 个结点
普通二本,去过阿里外包,到现在年薪40W+的高级测试工程师,我的两年转行心酸经历...
分享在大疆DJI(深圳总部)工作的日常和福利
Overview | slam of laser and vision fusion
Win11如何设置用户权限?Win11设置用户权限的方法
Pico, do you want to save or bring consumer VR?
Research on multi model architecture of ads computing power chip
Go语学习笔记 - gorm使用 - 表增删改查 | Web框架Gin(八)
#夏日挑战赛# HarmonyOS canvas实现时钟
[PHP graduation design] design and implementation of textbook management system based on php+mysql+apache (graduation thesis + program source code) -- textbook management system
Zero copy technology of MySQL
自动、智能、可视!深信服SSLO方案背后的八大设计
Preorder, inorder, follow-up of binary tree (non recursive version)
