用vue-cli创建了一个新项目,运行npm run serve报错了,大神帮忙看下怎么解决

$ npm run serve

> hello-world@0.1.0 serve E:\www\hello-world
> vue-cli-service serve

 INFO  Starting development server...
 ERROR  Error: listen EAFNOSUPPORT: address family not supported 0.0.0.0:8080
Error: listen EAFNOSUPPORT: address family not supported 0.0.0.0:8080
    at Server.setupListenHandle [as _listen2] (net.js:1313:16)
    at listenInCluster (net.js:1361:12)
    at doListen (net.js:1498:7)
    at processTicksAndRejections (internal/process/task_queues.js:85:21)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! hello-world@0.1.0 serve: `vue-cli-service serve`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the hello-world@0.1.0 serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2021-04-29T02_17_09_804Z-debug.log
 

遇到这种问题

首先下载个 有道词典 翻译一下什么意思,

翻译后不会解决可以搜百度,

百度搜不出来得话

像是这种npm运行错误可以试一下把node_modules给删了 然后重新npm i 来安装依赖。

记好 先翻译一下

https://blog.csdn.net/guozan_t/article/details/62037563  似乎是端口冲突

你代理服务器那里怎么设置的?

电脑重启,重启服务

错误译文:

正在启动开发服务器。。。

错误:listen EAFNOSUPPORT:不支持地址系列0.0.0.0:8080

错误:listen EAFNOSUPPORT:不支持地址族0.0.0.0:8080

在Server.setupListenHandle[as _listen2](net.js:1313:16)

在listenicluster(net.js:1361:12)

在doListen(net.js:1498:7)

在处理和拒绝时(internal/process/task\u queues.js:85:21)

npm错误!代码失效循环

npm错误!错误1

npm错误!hello-world@0.1.0 serve:`vue cli服务serve`

npm错误!退出状态1

npm错误!

npm错误!失败于hello-world@0.1.0 服务脚本。

npm错误!这可能不是npm的问题。上面可能有额外的日志输出。

npm错误!此运行的完整日志可在以下位置找到:

npm错误!C:\Users\Administrator\AppData\Roaming\npm cache\\u logs\2021-04-29T02\u 17\u 09\u 804Z-debug.log