Saturday, 24 August 2013

NodeJS express issue: not working but installed

NodeJS express issue: not working but installed

I was trying to use express module on nodejs
I guess I installes express module correctly?
npm ls show following
„¥„Ÿ„¦ express@3.3.5
„  „¥„Ÿ„Ÿ buffer-crc32@0.2.
„  „¥„Ÿ„¦ commander@1.2.0
„  „  „¤„Ÿ„Ÿ keypress@0.1.0
„  „¥„Ÿ„¦ connect@2.8.5
„  „  „¥„Ÿ„Ÿ bytes@0.2.0
„  „  „¥„Ÿ„Ÿ formidable@1.0.
„  „  „¥„Ÿ„Ÿ pause@0.0.1
„  „  „¥„Ÿ„Ÿ qs@0.6.5
„  „  „¤„Ÿ„Ÿ uid2@0.0.2
„  „¥„Ÿ„Ÿ cookie@0.1.0
„  „¥„Ÿ„Ÿ cookie-signature@
„  „¥„Ÿ„Ÿ debug@0.7.2
„  „¥„Ÿ„Ÿ fresh@0.2.0
„  „¥„Ÿ„Ÿ methods@0.0.1
„  „¥„Ÿ„Ÿ mkdirp@0.3.5
„  „¥„Ÿ„Ÿ range-parser@0.0.
„  „¤„Ÿ„¦ send@0.1.4
„  „¤„Ÿ„Ÿ mime@1.2.11
When I try nodejs example.js I got an error:
Error: cannot find module 'express'
I'm running it on a windows8 root system.
Could any one help me out?
thx

No comments:

Post a Comment