Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Most middleware (like json) is no longer bundled with Express and must be installed separately #69

Open
karibuTW opened this issue Jul 15, 2014 · 6 comments

Comments

@karibuTW
Copy link

Hi guys,
I'm trying to install ShareFest, but when I run npm start, I got the following error:
Most middleware (like json) is no longer bundled with Express and must be installed separately. Please see https://github.com/senchalabs/connect#middleware.

node -v v0.10.26

[email protected] /var/www/ShareFest
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ └── [email protected]
├─┬ [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ └─┬ [email protected]
│ └── [email protected]
├── [email protected]
└─┬ [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]

Thanks for your help

@jmg
Copy link

jmg commented Aug 4, 2014

@karibuTW you can use express 3.x and it will work fine. See https://github.com/Peer5/ShareFest/pull/70/files

@karibuTW
Copy link
Author

karibuTW commented Aug 4, 2014

Indeed!
It works great now!
Thanks jmg.

hope your fix will be integrated soon

Edit: I wrote a small tutorial to help installing Sharefest on Ubuntu/Debian type system
http://freedif.org/sharefest-web-based-p2p-file-sharing/

@SunboX
Copy link

SunboX commented Oct 17, 2014

👍

@anweshtiwari
Copy link

Hi,
I have edited the files as indicated by jmg but I am still getting same error. Do I need any other changes?
Thanks for your help !

@bluenevus
Copy link

I have it working on express 4. don't really know how to check it into github here but happy to send it to developers here to check it in.

@rorystephenson
Copy link

@bluenevus I'm a bit late to the party but if you still have that code sitting around I'd be interested to see it. You can create your own fork of this repo and push the changes there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants