我正在遵循 stackoverflow 上有人建议的说明:
按照我的命令执行所有步骤后
git clone https://github.com/joyent/node.git && cd node
显示
cloning.....
error: RPC failed; result=56, HTTP code = 100
fatal: The remote end hung up unexpectedly
我是第一次使用 Ubuntu、终端等。你能建议一下该怎么做吗?配置有问题吗?
预先感谢您提出这样的问题...
最佳答案
如果您不熟悉使用 Node,我建议您不要费心使用 git,只需直接从 nodejs.org 下载源代码即可。 .
选择0.4.11分支,更稳定。
从那里,按照以下说明操作:
sudo apt-get install libssl-dev (may not be needed, but good idea anyways)
cd *your download dir*
tar xvf node-v0.4.11.tar.gz
cd node-v0.4.11
./configure
make
sudo make install
如果这似乎仍然会导致问题,this站点允许您快速创建 Node 的安装脚本,您的里程可能会随之变化。
关于git - Node.js Ubuntu 安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7359974/