tomswartz07 / FLDT

The Fast Linux Deployment Toolkit
Apache License 2.0
0 stars 0 forks source link

Outdated Package References #1

Closed tomswartz07 closed 10 years ago

tomswartz07 commented 10 years ago

When running node server.js an error message is presented and the application fails with Error Code: 8

Error: Most middleware (like bodyParser) 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/vagrant/FLDT/server/node_modules/express/lib/express.js:89:13)
    at Object.<anonymous> (/home/vagrant/FLDT/server/server.js:28: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:906:3

It appears that bodyParser has been outdated.

I'll submit a patch.