git - Node.js Ubuntu 安装

标签 git ubuntu node.js terminal

我正在遵循 stackoverflow 上有人建议的说明:

http://www.giantflyingsaucer.com/blog/?p=2284

按照我的命令执行所有步骤后

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/

相关文章:

xcode - 我如何查看 Git 将向 Xcode 中的服务器推送哪些文件?

linux - 我的代码给出错误 : ./greeting2.sh: line 11: syntax error: unexpected end of file

javascript - 为什么我不能在 node.js 中对这个 URL 进行 url 编码?

node.js - 如何处理 io.use 中间件捕获客户端错误?

ruby-on-rails - Git 在 Rails 项目上忽略了我的 .gitignore

git - 强制在 git stash 上发送消息

ruby-on-rails - Capistrano Deploy 未从 GitHub 获取最新提交

mongodb - 当配置实例使用与数据实例相同的二进制文件时升级 Mongodb

ubuntu - 如何启用 openLDAP 以在 Ubuntu 上使用 LDAP over SSL

JavaScript 正则表达式 : successive matches