Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > node app.js
- /home/neo/node_modules/flatiron-passport/flatiron-passport.js:18
- app.http.before.push(connect.cookieParser());
- ^
- TypeError: Object function createServer() {
- function app(req, res, next){ app.handle(req, res, next); }
- merge(app, proto);
- merge(app, EventEmitter.prototype);
- app.route = '/';
- app.stack = [];
- return app;
- } has no method 'cookieParser'
- at exports.attach (/home/neo/node_modules/flatiron-passport/flatiron-passport.js:18:35)
- at App.use (/home/neo/node_modules/flatiron/node_modules/broadway/lib/broadway/app.js:165:31)
- at Object.<anonymous> (/home/neo/Desktop/projects/projects/projects/stickr/app.js:43:5)
- 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:935:3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement