0

我正在安装 node.js,

在 Ubuntu 12.04 上,使用源 node-v0.8.21.tar.gz

我正在使用链接

同时make test,我得到错误

python tools/test.py --mode=release simple message
=== release test-http-dns-fail ===                                        
Path: simple/test-http-dns-fail
assert.js:102
  throw new assert.AssertionError({
        ^
AssertionError: false == true
    at process.<anonymous> (/home/trendwise/Downloads/node.js/node-v0.8.21/test/simple/test-http-dns-fail.js:60:10)
    at process.EventEmitter.emit (events.js:126:20)
Error: listen EADDRNOTAVAIL
    at errnoException (net.js:770:11)
    at Server._listen2 (net.js:893:19)
    at listen (net.js:937:10)
    at Server.listen (net.js:994:9)
    at dns.js:72:18
    at process.startup.processNextTick.process._tickCallback (node.js:244:9)
Command: out/Release/node /home/trendwise/Downloads/node.js/node-v0.8.21/test/simple/test-net-pingpong.js
[02:14|% 100|+ 465|-   2]: Done                                                
make: *** [test] Error 1
4

1 回答 1

0

这是一个已知问题,此处提到:https ://github.com/joyent/node/issues/4672

如果你想修复它,我认为你需要 Node 0.9,或者忽略它。

于 2013-02-27T15:04:55.237 回答