菜菜子园子 2022-01-10 14:08 采纳率: 66.7%
浏览 1772

使用npm run dev报错,无法解决问题

问题遇到的现象和发生背景

在运行项目的时候使用npm run dev,出现了这些,看不懂请求支援

问题相关代码,请勿粘贴截图

PS D:\work\i-tax-bench-front-haidilao> npm run dev

运行结果及报错内容
> i_tax_bench@1.0.0 dev
> webpack-dev-server --inline --progress --config build/webpack.dev.conf.js

(node:20684) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
(Use `node --trace-deprecation ...` to show where the warning was created)
 10% building modules 1/1 modules 0 activenode:events:368
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRNOTAVAIL: address not available 10.1.30.167:9002
    at Server.setupListenHandle [as _listen2] (node:net:1317:21)
    at listenInCluster (node:net:1382:12)
    at doListen (node:net:1520:7)
    at processTicksAndRejections (node:internal/process/task_queues:84:21)  
Emitted 'error' event on Server instance at:
    at emitErrorNT (node:net:1361:8)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  code: 'EADDRNOTAVAIL',
  errno: -4090,
  syscall: 'listen',
  address: '10.1.30.167',
  port: 9002
}

我想要达到的结果

我想知道这个是什么东西以及怎么解决

  • 写回答

3条回答 默认 最新

  • Alice_czy 2022-01-10 14:14
    关注

    你需要一个百度翻译,npn报错情况和本地代码配置有关,报错信息也很清楚说明了,
    ‘address not available’:地址不可用

    评论

报告相同问题?

问题事件

  • 创建了问题 1月10日

悬赏问题

  • ¥15 python Flassk 模块部署 服务器时报错
  • ¥15 Opencv(C++)异常
  • ¥15 VScode上配置C语言环境
  • ¥15 汇编语言没有主程序吗?
  • ¥15 这个函数为什么会爆内存
  • ¥15 无法装系统,grub成了顽固拦路虎
  • ¥15 springboot aop 应用启动异常
  • ¥15 matlab有关债券凸性久期的代码
  • ¥15 lvgl v8.2定时器提前到来
  • ¥15 qtcp 发送数据时偶尔会遇到发送数据失败?用的MSVC编译器(标签-qt|关键词-tcp)