node -v
v0.2.5
npm -v
v0.2.18
express -v
1.0.8
npm view express
npm info it worked if it ends with ok
npm info using n...@0.2.18
npm info using no...@v0.2.5
{ name: 'express'
, description: 'Sinatra inspired web development framework'
, 'dist-tags': { latest: '2.0.0beta' }
, maintainers: 'tjholowaychuk <
t...@vision-media.ca>'
, author: 'TJ Holowaychuk <
t...@vision-media.ca>'
, time:
{ '0.14.0': '2010-12-29T19:38:25.450Z'
, '0.14.1': '2010-12-29T19:38:25.450Z'
, '1.0.0beta': '2010-12-29T19:38:25.450Z'
, '1.0.0beta2': '2010-12-29T19:38:25.450Z'
, '1.0.0rc': '2010-12-29T19:38:25.450Z'
, '1.0.0rc2': '2010-12-29T19:38:25.450Z'
, '1.0.0rc3': '2010-12-29T19:38:25.450Z'
, '1.0.0rc4': '2010-12-29T19:38:25.450Z'
, '1.0.0': '2010-12-29T19:38:25.450Z'
, '1.0.1': '2010-12-29T19:38:25.450Z'
, '1.0.2': '2011-01-11T02:09:30.004Z'
, '1.0.3': '2011-01-13T22:09:07.840Z'
, '1.0.4': '2011-02-05T19:13:15.043Z'
, '1.0.5': '2011-02-05T19:16:30.839Z'
, '1.0.6': '2011-02-07T21:45:32.271Z'
, '1.0.7': '2011-02-07T22:26:51.313Z'
, '1.0.8': '2011-03-02T02:58:14.314Z'
, '2.0.0beta': '2011-03-04T00:19:22.568Z'
}
, version: '2.0.0beta'
, contributors:
[ 'TJ Holowaychuk <
t...@vision-media.ca>'
, 'Aaron Heckmann <
aaron.heck...@gmail.com>'
, 'Ciaran Jessup <
cia...@gmail.com>'
, 'Guillermo Rauch <
rau...@gmail.com>'
]
, dependencies:
{ connect: '>= 1.0.1'
, mime: '>= 0.0.1'
, qs: '>= 0.0.6'
}
, keywords:
[ 'framework'
, 'sinatra'
, 'web'
, 'rest'
, 'restful'
]
, main: 'index'
, bin: { express: './bin/express' }
, engines: { node: '>= 0.4.1 < 0.5.0' }
, directories: { lib: './lib', bin: './bin' }
, files: ''
, dist:
{ shasum: 'c2095479887128f161ee13211e7b886edb4d9f98'
, tarball: '
http://registry.npmjs.org/express/-/
express-2.0.0beta.tgz'
}
}
npm ok
For now, express is working when am using it like :
var express = require('/home/node/local/lib/node/.npm/express/active/
package/lib/express');