当前位置:网站首页>Solve the problem of running server nodemon reporting errors
Solve the problem of running server nodemon reporting errors
2022-06-13 04:18:00 【Hunterst_】
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: js,mjs,json
[nodemon] starting `node scr.js`
node:events:498
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE: address already in use :::9000
at Server.setupListenHandle [as _listen2] (node:net:1330:16)
at listenInCluster (node:net:1378:12)
at Server.listen (node:net:1465:7)
at Object.<anonymous> (C:\Users\HUAWEI\Desktop\webfuwu\scr.js:8:8)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47
Emitted 'error' event on Server instance at:
at emitErrorNT (node:net:1357:8)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
code: 'EADDRINUSE',
errno: -4091,
syscall: 'listen',
address: '::',
port: 9000
}
[nodemon] app crashed - waiting for file changes before starting... Usage: nodemon [nodemon options] [script.js] [args]
See "nodemon --help" for more.
C:\Users\HUAWEI\Desktop\webfuwu>
Generally, it is because of permission problems
Windows Power Shell
Find the command window , It's a blue command window , Higher authority than black
And then run it ok
边栏推荐
- Ladder race
- VGA display based on de2-115 platform
- Interpretation of mobile phone private charging protocol
- Use the visual studio code terminal to execute the command, and the prompt "because running scripts is prohibited on this system" will give an error
- Advanced Mathematics (Seventh Edition) Tongji University exercises 1-2 personal solutions
- [note]vs2015 compilation of masm32 using MASM32 Library
- MCU: RS485 communication and Modbus Protocol
- ROS中的msg消息
- 120. 三角形最小路径和-动态规划
- Promise combined with await
猜你喜欢

Use the visual studio code terminal to execute the command, and the prompt "because running scripts is prohibited on this system" will give an error

Common encryption and decryption function encapsulation - AES encryption and decryption

Unity Shader 学习 004-Shader 调试 平台差异性 第三方调试工具

Dumi builds a document blog

Differences and relations between three-tier architecture and MVC

Use ASE encryption and decryption cache encapsulation in Vue project

R: Employee turnover forecast practice

EMC整改纲要

Single chip microcomputer: main index of a/d (analog-to-digital conversion)

EGO Planner代码解析----CMakeLists.txt和package.xml
随机推荐
[test development] basic concepts related to testing
Introduction and use of ES6
Common array methods in JS (map, filter, foreach, reduce)
Redis-HyperLogLog-基数统计算法
7-289 tag count (300 points)
Goframe day 5
Ego planner code analysis ----cmakelists Txt and package xml
Forgotten fleeting years
Modeling discussion series 143 data processing, analysis and decision system development
EMC整改纲要
ROS中的msg消息
dumi 搭建文檔型博客
Et framework -22 creating serverinfo entities and events
Reread the classic: end to end object detection with transformers
Introduction to MCU peripherals: temperature sensor DS18B20
Mongodb compass connects to the Alibaba cloud remote server database or reports an error occurred while loading instance info: command hostinfo req
Lightweight digital mall system based on PHP
Interpretation of usb-if bc1.2 charging protocol
120. triangle minimum path sum - Dynamic Planning
knife4j aggregation 2.0.9支持路由文档自动刷新