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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Express
did you do
$ npm install
in that project's directory like it says after you use the executable
to create it?