You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TypeError: Cannot read property 'get' of undefined #14
Did npm install, configured mongodb and populated collections. This happens on npm start:
events.js:182
throw er; // Unhandled 'error' event
^
TypeError: Cannot read property 'get' of undefined
at /Users/brankozivanovic/Desktop/Stream-Example-Nodejs/routes.js:278:4
at model.Query.<anonymous> (/Users/brankozivanovic/Desktop/Stream-Example-Nodejs/node_modules/mongoose/lib/model.js:4054:16)
at /Users/brankozivanovic/Desktop/Stream-Example-Nodejs/node_modules/kareem/index.js:273:21
at /Users/brankozivanovic/Desktop/Stream-Example-Nodejs/node_modules/kareem/index.js:131:16
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickCallback (internal/process/next_tick.js:180:9)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! Stream@1.0.0 start: `node app.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the Stream@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/brankozivanovic/.npm/_logs/2017-12-21T13_15_37_512Z-debug.log````
Activity