2013-08-27 40 views
0
Command: out/Release/node /Users/akhyar/Documents/node/node-master/test/simple/test-memory-usage-emfile.js 
=== release test-tls-server-verify ===           
Path: simple/test-tls-server-verify 
connecting with agent1 
    connecting with agent2 
    connecting with agent3 
    connecting with nocert 
    connecting with agent1 
Running 'Do not request certs. Everyone is unauthorized.' 
- unauthed connection: null 
    * unauthed 
- unauthed connection: null 
    * unauthed 
- unauthed connection: null 
    * unauthed 
- unauthed connection: null 
    * unauthed 
Running 'Allow both authed and unauthed connections with CA1' 

assert.js:92 
    throw new assert.AssertionError({ 
     ^
AssertionError: agent1 rejected, but should NOT have been 
    at ChildProcess.<anonymous> (/Users/akhyar/Documents/node/node-master/test/simple/test-tls-server-verify.js:217:14) 
    at ChildProcess.EventEmitter.emit (events.js:106:17) 
    at Process.ChildProcess._handle.onexit (child_process.js:790:12) 
Command: out/Release/node /Users/akhyar/Documents/node/node-master/test/simple/test-tls-server-verify.js 
[02:17|% 100|+ 633|- 3]: Done             
make: *** [test] Error 1 

我不知道爲什麼這個錯誤發生。是node.js 0.10.17穩定版本? 我在macosx山獅上安裝node.js時出現了這個錯誤10.8.4 任何人都可以給出提示嗎?Node.js的0.10.17錯誤安裝測試(Asse田)

回答

0

0.10.17是當前和穩定

我已經written this up before,所以我不會再寫這一切。

總結:的node.js是手動安裝

# make a `~/.nodes/ folder 
mkdir -p ~/.nodes && cd ~/.nodes 

# download the binaries from nodejs.org 
# in this case, here's the linux version 
curl -O http://nodejs.org/dist/v0.10.17/node-v0.10.17-darwin-x64.tar.gz 

# extract 
tar -xzf node-v0.10.17-darwin-x64.tar.gz 

# rename folder to 0.10.17 
mv node-v0.10.17-darwin-x64 0.10.17 

# create a `current` symlink 
ln -s 0.10.17 current 

# prepend ~/.nodes/bin to your path 
# you'll want to save this in ~/.bashrc or ~/.zshrc or something 
export PATH="~/.nodes/current/bin:$PATH" 

# cleanup 
rm ~/.nodes/node-v0.10.17-darwin-x64.tar.gz 
極其簡單