Re: [Express-js] why always "cannot find the modules "express""

25 views
Skip to first unread message

Scott

unread,
Aug 6, 2012, 3:34:31 PM8/6/12
to expre...@googlegroups.com
Did you npm install express? I always install it globally: npm
install express -g

On Sat, Aug 4, 2012 at 11:20 PM, Xiao Xiong <xiaohe...@gmail.com> wrote:
> I want to use my own file structure. not use the "express new_app".
> It product a lot of useless files.But when I run "node app.js".
> node just say "cannot find the modules "express"
> what can I do?thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Express" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/express-js/-/QR0gHBE_CIMJ.
> To post to this group, send email to expre...@googlegroups.com.
> To unsubscribe from this group, send email to
> express-js+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/express-js?hl=en.

tjholowaychuk

unread,
Aug 6, 2012, 11:40:52 PM8/6/12
to Express
did you do

$ npm install

in that project's directory like it says after you use the executable
to create it?
Reply all
Reply to author
Forward
0 new messages