nvm で node の v0.6.0 を入れ直してみる

npm が使えんので。

$ nvm uninstall v0.6.0
Uninstalled node v0.6.0
grep: /home/fuga/.nvm/alias/*: No such file or directory
$ nvm install v0.6.0

使えるようになりますように。
あと、express ですが tag 見たら 2.5.0 が最新。checkout してみよう。

$ git checkout 2.5.0
HEAD is now at 95f6cda... Release 2.5.0
$ git branch
* (no branch)
  master
$

とりあえず、この状態でソース掘った方が良いのだろうな。

見てみたらばっちり createServer がある。

exports.createServer = function(options){
  if ('object' == typeof options) {
    return new HTTPSServer(options, Array.prototype.slice.call(arguments, 1));
  } else {
    return new HTTPServer(Array.prototype.slice.call(arguments));
  }
};

結論としては_漢のエッヂ_はとりあえず置いといて、って思ったら 0.6.0 な nvm を make し直したら npm ができとる。
とは言え、なんとなく言うことを聞いてくれないので

$ npm update

してます。良いのかなぁ。

駄目?

とりあえず express がリポジトリに、らしい。

npm ERR! 404 'express3.0.0alpha1' is not in the npm registry.

やっぱ 2.5 で、ってことなのか。ちょっとがっつり中身を読みたいと思ってます。