Skip to content

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

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