Amazon Linux AMI Beta – node.js不是用opensll crypto支持编译的

我已经安装了nodejs,npm和所需的模块来运行我的聊天应用程序。 运行时,我得到了这些错误。 我能做什么 ?

[ec2-user@ip-10-170-91-52 ~]$ cd chat [ec2-user@ip-10-170-91-52 chat]$ node server.js node.js:181 throw e; // process.nextTick error, or 'error' event on first tick ^ Error: node.js not compiled with openssl crypto support. at tls.js:45:9 at NativeModule.compile (node.js:430:5) at node.js:398:18 at https.js:22:11 at NativeModule.compile (node.js:430:5) at Function.require (node.js:398:18) at Function._load (module.js:285:25) at require (module.js:364:19) at Object.<anonymous> (/usr/local/lib/node/.npm/connect/1.4.0/package/lib/https.js:14:13) at Module._compile (module.js:420:26) [ec2-user@ip-10-170-91-52 chat]$ ^C [ec2-user@ip-10-170-91-52 chat]$ 

安装OpenSSL:
sudo yum install openssl openssl-devel