安装node.js错误 - 抛出新的assert.AssertionError

时间:2013-02-27 14:43:25

标签: node.js

我正在安装node.js,

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

我正在使用link

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

1 个答案:

答案 0 :(得分:0)

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

如果你想修复它,我认为你需要节点0.9,或者只是忽略它。