当我尝试在windows bash上运行https://github.com/jakearchibald/wittr时,我得到了以下错误,如果能帮助我修复它或调试它,我们将不胜感激。
Development server listening. (PID:469)
Config server listening at localhost:8001
Server listening at localhost:8000
events.js:141
throw er; // Unhandled 'error' event
^
Error: listen EPERM offlinefirst.sock
at Object.exports._errnoException (util.js:907:11)
at exports._exceptionWithHostPort (util.js:930:20)
at Server._listen2 (net.js:1237:19)
at listen (net.js:1286:10)
at Server.listen (net.js:1376:5)
at Server._listen (/mnt/d/wittr/build/server/Server.js:327:25)
at Server.setConnectionType (/mnt/d/wittr/build/server/Server.js:353:14)
at Object.<anonymous> (/mnt/d/wittr/build/server/index.js:27:8)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)发布于 2017-11-08 04:53:55
它将在您将wittr目录移动到您的linux主~/时运行。
发布于 2017-11-03 16:59:36
我想最简单的解决方案是使用Node.js v4。我也遇到了同样的问题,它适用于我在Windows上的v4 (不是WSL,还没试过)。
https://stackoverflow.com/questions/47050782
复制相似问题