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

use express 3.x since 4.x doesn't meet the dependencies #70

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jmg
Copy link

@jmg jmg commented Aug 4, 2014

I was getting the following error when using express 4.x so I forced 3.x and it worked fine

Error: Most middleware (like json) is no longer bundled with Express and must be installed separately. Please see https://github.com/senchalabs/connect#middleware.
at Function.Object.defineProperty.get (/home/jm/DESAROLLO/ShareFest/node_modules/express/lib/express.js:89:13)
at Object. (/home/jm/DESAROLLO/ShareFest/sharefest/server.js:27:17)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:902:3

@karibuTW
Copy link

karibuTW commented Aug 4, 2014

Same here! It works well now with the fix

@@ -4,7 +4,7 @@
"version": "1.0.0",
"author": "",
"dependencies": {
"express": ">=3.0",
"express": ">=3.0 <= 4.0",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will actually match 4.0, should be >=3.0 < 4.0 instead.

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

Successfully merging this pull request may close these issues.

3 participants