Hi all,
I'm having problems with the 'app.all' method. It should be working,
so there is prob
s.th wrong with my installation.
If anyone has a hint or idea, 't'd be most welcome. Details below.
Thanks,
Gnimm
-----------
$> node
> var express = require('express')
> var app = express.createServer();
> app.get
[Function]
> app.all
> app.all()
TypeError: Object [object Object] has no method 'all'
at [object Context]:1:5
at Interface.<anonymous> (repl:96:19)
at Interface.emit (events:27:15)
at Interface._ttyWrite (readline:309:12)
at Interface.write (readline:147:30)
at Stream.<anonymous> (repl:79:9)
at Stream.emit (events:27:15)
at IOWatcher.callback (net:489:16)
at node.js:773:9
---------------------------
$> npm ls express installed
npm info it worked if it ends with ok
npm info using n...@0.2.12-1
npm info using no...@v0.2.5
exp...@1.0.0rc4 Sinatra inspired web development framework
=tjholowaychuk installed remote framework sinatra web rest restful
exp...@1.0.0 Sinatra inspired web development framework
=tjholowaychuk installed remote framework sinatra web rest restful
$> npm ls connect installed
npm info it worked if it ends with ok
npm info using n...@0.2.12-1
npm info using no...@v0.2.5
con...@0.2.7 High performance middleware framework
=creationix =tjholowaychuk installed remote
con...@0.3.0 High performance middleware framework
=creationix =tjholowaychuk installed remote
con...@0.4.0 High performance middleware framework
=creationix =tjholowaychuk installed remote
con...@0.5.0 High performance middleware framework
=creationix =tjholowaychuk installed remote