一开始用vue的时候npm run dev,启动也报这个错,找了很久,都没有找到解决方案,在公司出现的问题,在家里用就没有问题,重装了node十几遍了,费解

玄学大师 发布于 2018/12/25 11:51
阅读 376
收藏 0
PS D:\php\wwwroot\test> node test
Server runing at http://127.0.0.1:11111
events.js:167
      throw er; // Unhandled 'error' event
      ^

Error: listen EAFNOSUPPORT :::11111
    at Server.setupListenHandle [as _listen2] (net.js:1286:14)
    at listenInCluster (net.js:1334:12)
    at Server.listen (net.js:1421:7)
    at Object.<anonymous> (D:\php\wwwroot\test\test.js:5:8)
    at Module._compile (internal/modules/cjs/loader.js:688:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
    at Module.load (internal/modules/cjs/loader.js:598:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
    at Function.Module._load (internal/modules/cjs/loader.js:529:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)
Emitted 'error' event at:
    at emitErrorNT (net.js:1313:8)
    at process._tickCallback (internal/process/next_tick.js:63:19)
    at Function.Module.runMain (internal/modules/cjs/loader.js:744:11)
    at startup (internal/bootstrap/node.js:285:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)

 

加载中
0
玄学大师
玄学大师

我的天,找了几天,最后更新了下网卡驱动就好了,什么原理???

返回顶部
顶部