Skip to content

Instantly share code, notes, and snippets.

@henryboldi
Created May 13, 2014 04:04
Show Gist options
  • Save henryboldi/366dd224aeaf5d3f835a to your computer and use it in GitHub Desktop.
Save henryboldi/366dd224aeaf5d3f835a to your computer and use it in GitHub Desktop.
These are the logs for 107.170.207.198.
In the mean time, for alternatives and more info, check out:
-> https://gist.github.com/mikermcneil/8249181
-> https://github.com/senchalabs/connect/wiki/Connect-3.0
(to silence this warning, change `config/express.js`)
Error rendering view at :: /fortheon/source/views/hacks/recent
with layout located at :: /fortheon/source/views/layout
TypeError: /fortheon/source/views/hacks/recent.ejs:23
21|
Post a Hack
22|
Hacks
>> 23|
Profile
24|
Jobs
25|
Settings
26|
Signout
Cannot read property 'username' of undefined
at eval (eval at (/fortheon/source/node_modules/ejs/lib/ejs.js:236:14), :29:903)
at eval (eval at (/fortheon/source/node_modules/ejs/lib/ejs.js:236:14), :29:4437)
at /fortheon/source/node_modules/ejs/lib/ejs.js:249:15
at Object.exports.render (/fortheon/source/node_modules/ejs/lib/ejs.js:287:13)
at Object.exports.renderFile (/fortheon/source/node_modules/ejs/lib/ejs.js:317:20)
at module.exports [as engine] (/fortheon/source/node_modules/sails/node_modules/ejs-locals/index.js:85:7)
at View.render (/fortheon/source/node_modules/sails/node_modules/express/lib/view.js:76:8)
at Function.app.render (/fortheon/source/node_modules/sails/node_modules/express/lib/application.js:504:10)
at ServerResponse.res.render (/fortheon/source/node_modules/sails/node_modules/express/lib/response.js:801:7)
at ServerResponse._addResViewMethod.res.view (/fortheon/source/node_modules/sails/lib/hooks/views/res.view.js:162:14) TypeError: /fortheon/source/views/hacks/recent.ejs:23
21|
Post a Hack
22|
Hacks
>> 23|
Profile
24|
Jobs
25|
Settings
26|
Signout
Cannot read property 'username' of undefined
Error rendering view at :: /fortheon/source/views/hacks/recent
with layout located at :: /fortheon/source/views/layout
TypeError: /fortheon/source/views/hacks/recent.ejs:23
21|
Post a Hack
22|
Hacks
>> 23|
Profile
24|
Jobs
25|
Settings
26|
Signout
Cannot read property 'username' of undefined
at eval (eval at (/fortheon/source/node_modules/ejs/lib/ejs.js:236:14), :29:903)
at eval (eval at (/fortheon/source/node_modules/ejs/lib/ejs.js:236:14), :29:4437)
at /fortheon/source/node_modules/ejs/lib/ejs.js:249:15
at Object.exports.render (/fortheon/source/node_modules/ejs/lib/ejs.js:287:13)
at Object.exports.renderFile (/fortheon/source/node_modules/ejs/lib/ejs.js:317:20)
at module.exports [as engine] (/fortheon/source/node_modules/sails/node_modules/ejs-locals/index.js:85:7)
at View.render (/fortheon/source/node_modules/sails/node_modules/express/lib/view.js:76:8)
at Function.app.render (/fortheon/source/node_modules/sails/node_modules/express/lib/application.js:504:10)
at ServerResponse.res.render (/fortheon/source/node_modules/sails/node_modules/express/lib/response.js:801:7)
at ServerResponse._addResViewMethod.res.view (/fortheon/source/node_modules/sails/lib/hooks/views/res.view.js:162:14) TypeError: /fortheon/source/views/hacks/recent.ejs:23
21|
Post a Hack
22|
Hacks
>> 23|
Profile
24|
Jobs
25|
Settings
26|
Signout
Cannot read property 'username' of undefined
Error rendering view at :: /fortheon/source/views/hacks/recent
with layout located at :: /fortheon/source/views/layout
TypeError: /fortheon/source/views/hacks/recent.ejs:23
21|
Post a Hack
22|
Hacks
>> 23|
Profile
24|
Jobs
25|
Settings
26|
Signout
Cannot read property 'username' of undefined
at eval (eval at (/fortheon/source/node_modules/ejs/lib/ejs.js:236:14), :29:903)
at eval (eval at (/fortheon/source/node_modules/ejs/lib/ejs.js:236:14), :29:4437)
at /fortheon/source/node_modules/ejs/lib/ejs.js:249:15
at Object.exports.render (/fortheon/source/node_modules/ejs
/lib/ejs.js:287:13)
at Object.exports.renderFile (/fortheon/source/node_modules/ejs/lib/ejs.js:317:20)
at module.exports [as engine] (/fortheon/source/node_modules/sails/node_modules/ejs-locals/index.js:85:7)
at View.render (/fortheon/source/node_modules/sails/node_modules/express/lib/view.js:76:8)
at Function.app.render (/fortheon/source/node_modules/sails/node_modules/express/lib/application.js:504:10)
at ServerResponse.res.render (/fortheon/source/node_modules/sails/node_modules/express/lib/response.js:801:7)
at ServerResponse._addResViewMethod.res.view (/fortheon/source/node_modules/sails/lib/hooks/views/res.view.js:162:14) TypeError: /fortheon/source/views/hacks/recent.ejs:23
21|
Post a Hack
22|
Hacks
>> 23|
Profile
24|
Jobs
25|
Settings
26|
Signout
Cannot read property 'username' of undefined
Message sent: 250 2.0.0 Ok: queued as 4F9EF20014B
Error rendering view at :: /fortheon/source/views/hacks/recent
with layout located at :: /fortheon/source/views/layout
TypeError: /fortheon/source/views/hacks/recent.ejs:23
21|
Post a Hack
22|
Hacks
>> 23|
Profile
24|
Jobs
25|
Settings
26|
Signout
Cannot read property 'username' of undefined
at eval (eval at (/fortheon/source/node_modules/ejs/lib/ejs.js:236:14), :29:903)
at eval (eval at (/fortheon/source/node_modules/ejs/lib/ejs.js:236:14), :29:4437)
at /fortheon/source/node_modules/ejs/lib/ejs.js:249:15
at Object.exports.render (/fortheon/source/node_modules/ejs/lib/ejs.js:287:13)
at Object.exports.renderFile (/fortheon/source/node_modules/ejs/lib/ejs.js:317:20)
at module.exports [as engine] (/fortheon/source/node_modules/sails/node_modules/ejs-locals/index.js:85:7)
at View.render (/fortheon/source/node_modules/sails/node_modules/express/lib/view.js:76:8)
at Function.app.render (/fortheon/source/node_modules/sails/node_modules/express/lib/application.js:504:10)
at ServerResponse.res.render (/fortheon/source/node_modules/sails/node_modules/express/lib/response.js:801:7)
at ServerResponse._addResViewMethod.res.view (/fortheon/source/node_modules/sails/lib/hooks/views/res.view.js:162:14) TypeError: /fortheon/source/views/hacks/recent.ejs:23
21|
Post a Hack
22|
Hacks
>> 23|
Profile
24|
Jobs
25|
Settings
26|
Signout
Cannot read property 'username' of undefined
Error rendering view at :: /fortheon/source/views/hacks/recent
with layout located at :: /fortheon/source/views/layout
TypeError: /fortheon/source/views/hacks/recent.ejs:23
21|
Post a Hack
22|
Hacks
>> 23|
Profile
24|
Jobs
25|
Settings
26|
Signout
Cannot read property 'username' of undefined
at eval (eval at (/fortheon/source/node_modules/ejs/lib/ejs.js:236:14), :29:903)
at eval (eval at (/fortheon/source/node_modules/ejs/lib/ejs.js:236:14), :29:4437)
at /fortheon/source/node_modules/ejs/lib/ejs.js:249:15
at Object.exports.render (/fortheon/source/node_modules/ejs/lib/ejs.js:287:13)
at Object.exports.renderFile (/fortheon/source/node_modules/ejs/lib/ejs.js:317:20)
at module.exports [as engine] (/fortheon/source/node_modules/sails/node_modules/ejs-locals/index.js:85:7)
at View.render (/fortheon/source/node_modules/sails/node_modules/express/lib/view.js:76:8)
at Function.app.render (/fortheon/source/node_modules/sails/node_modules/express/lib/application.js:504:10)
at ServerResponse.res.render (/fortheon/source/node_modules/sails/node_modules/express/lib/response.js:801:7)
at ServerResponse._addResViewMethod.res.view (/fortheon/source/node_modules/sails/lib/hooks/views/res.view.js:162:14) TypeError: /fortheon/source/views/hacks/recent.ejs:23
21|
Post a Hack
22|
Hacks
>> 23|
Profile
24|
Jobs
25|
Settings
26|
Signout
Cannot read property 'username' of undefined
Error rendering view at :: /fortheon/source/views/hacks/recent
with layout located at :: /fortheon/source/views/layout
TypeError: /fortheon/source/views/hacks/recent.ejs:23
21|
Post a Hack
22|
Hacks
>> 23|
Profile
24|
Jobs
25|
Settings
26|
Signout
Cannot read property 'username' of undefined
at eval (eval at (/fortheon/source/node_modules/ejs/lib/ejs.js:236:14), :29:903)
at eval (eval at (/fortheon/source/node_modules/ejs/lib/ejs.js:236:14), :29:4437)
at /fortheon/source/node_modules/ejs/lib/ejs.js:249:15
at Object.exports.render (/fortheon/source/node_modules/ejs/lib/ejs.js:287:13)
at Object.exports.renderFile (/fortheon/source/node_modules/ejs/lib/ejs.js:317:20)
at module.exports [as engine] (/fortheon/source/node_modules/sails/node_modules/ejs-locals/index.js:85:7)
at View.render (/fortheon/source/node_modules/sails/node_modules/express/lib/view.js:76:8)
at Function.app.render (/fortheon/source/node_modules/sails/node_modules/express/lib/application.js:504:10)
at ServerResponse.res.render (/fortheon/source/node_modules/sails/node_modules/express/lib/response.js:801:7)
at ServerResponse._addResViewMethod.res.view (/fortheon/source/node_modules/sails/lib/hooks/views/res.view.js:162:14) TypeError: /fortheon/source/views/hacks/recent.ejs:23
21|
Post a Hack
22|
Hacks
>> 23|
Profile
24|
Jobs
25|
Settings
26|
Signout
Cannot read property 'username' of undefined
Error rendering view at :: /fortheon/source/views/hacks/recent
with layout located at :: /fortheon/source/views/layout
TypeError: /fortheon/source/views/hacks/recent.ejs:23
21|
Post a Hack
22|
Hacks
>> 23|
Profile
24|
Jobs
25|
Settings
26|
Signout
Cannot read property 'username' of undefined
at eval (eval at (/fortheon/source/node_modules/ejs/lib/ejs.js:236:14), :29:903)
at eval (eval at (/fortheon/source/node_modules/ejs/lib/ejs.js:236:14), :29:4437)
at /fortheon/source/node_modules/ejs/lib/ejs.js:249:15
at Object.exports.render (/fortheon/source/node_modules/ejs/lib/ejs.js:287:13)
at Object.exports.renderFile (/fortheon/source/node_modules/ejs/lib/ejs.js:317:20)
at module.exports [as engine] (/fortheon/source/node_modules/sails/node_modules/ejs-locals/index.js:85:7)
at View.render (/fortheon/source/node_modules/sails/node_modules/express/lib/view.js:76:8)
at Function.app.render (/fortheon/source/node_modules/sails/node_modules/express/lib/application.js:504:10)
at ServerResponse.res.render (/fortheon/source/node_modules/sails/node_modules/express/lib/response.js:801:7)
at ServerResponse._addResViewMethod.res.view (/fortheon/source/node_modules/sails/lib/hooks/views/res.view.js:162:14) TypeError: /fortheon/source/views/hacks/recent.ejs:23
21|
Post a Hack
22|
Hacks
>> 23|
Profile
24|
Jobs
25|
Settings
26|
Signout
Cannot read property 'username' of undefined
Message sent: 250 2.0.0 Ok: queued as 5791B180242
Error (E_UNKNOWN) :: Encountered an unexpected error:
MongoError: E11000 duplicate key error index: hackerbracket.user.$username_1 dup key: { : "fuckhackerbracket" }
Details:
{ error: 'E_UNKNOWN',
summary: 'Encountered an unexpected error',
status: 500,
raw: 'MongoError: E11000 duplicate key error index: hackerbracket.user.$username_1 dup key: { : "fuckhackerbracket" }' }
Message sent: 250 2.0.0 Ok: queued as 7D7D22006F8
Error (E_UNKNOWN) :: Encountered an unexpected error:
MongoError: E11000 duplicate key error index: hackerbracket.user.$username_1 dup key: { : "fuckhackerbracket" }
Details:
{ error: 'E_UNKNOWN',
summary: 'Encountered an unexpected error',
status: 500,
raw: 'MongoError: E11000 duplicate key error index: hackerbracket.user.$username_1 dup key: { : "fuckhackerbracket" }' }
Error (E_UNKNOWN) :: Encountered an unexpected error:
MongoError: E11000 duplicate key error index: hackerbracket.user.$username_1 dup key: { : "fuckhackerbracket" }
Details:
{ error: 'E_UNKNOWN',
summary: 'Encountered an unexpected error',
status: 500,
raw: 'MongoError: E11000 duplicate key error index: hackerbracket.user.$username_1 dup key: { : "fuckhackerbracket" }' }
Error (E_UNKNOWN) :: Encountered an unexpected error:
MongoError: E11000 duplicate key error index: hackerbracket.user.$username_1 dup key: { : "fuckhackerbracket" }
Details
:
{ error: 'E_UNKNOWN',
summary: 'Encountered an unexpected error',
status: 500,
raw: 'MongoError: E11000 duplicate key error index: hackerbracket.user.$username_1 dup key: { : "fuckhackerbracket" }' }
Error (E_UNKNOWN) :: Encountered an unexpected error:
MongoError: E11000 duplicate key error index: hackerbrack
et.user.$email_1 dup key: { : "teenageCoderAttacks@tc.com" }
Details:
{ error: 'E_UNKNOWN',
summary: 'Encountered an unexpected error',
status: 500,
raw: 'MongoError: E11000 duplicate key error index: hackerbracket.user.$email_1 dup key: { : "teenageCoderAttacks@tc.com" }' }
Error (E_UNKNOWN) :: Encountered an unexpected error:
MongoError: E11000 duplicate key error index: hackerbracket.user.$email_1 dup key: { : "teenageCoderAttacks@tc.com" }
Details:
{ error: 'E_UNKNOWN',
summary: 'Encountered an unexpected error',
status: 500,
raw: 'MongoError: E11000 duplicate key error index: hackerbracket.user.$email_1 dup key: { : "teenageCoderAttacks@tc.com" }' }
Error (E_UNKNOWN) :: Encountered an unexpected error:
MongoError: E11000 duplicate key error index: hackerbracket.user.$email_1 dup key: { : "teenageCoderAttacks@tc.com" }
Details:
{ error: 'E_UNKNOWN',
summary: 'Encountered an unexpected error',
status: 500,
raw: 'MongoError: E11000 duplicate key error index: hackerbracket.user.$email_1 dup key: { : "teenageCoderAttacks@tc.com" }' }
Error (E_UNKNOWN) :: Encountered an unexpected error:
MongoError: E11000 duplicate key error index: hackerbracket.user.$email_1 dup key: { : "teenageCoderAttacks@tc.com" }
Details:
{ error: 'E_UNKNOWN',
summary: 'Encountered an unexpected error',
status: 500,
raw: 'MongoError: E11000 duplicate key error index: hackerbracket.user.$email_1 dup key: { : "teenageCoderAttacks@tc.com" }' }
Error (E_UNKNOWN) :: Encountered an unexpected error:
MongoError: E11000 duplicate key error index: hackerbracket.user.$email_1 dup key: { : "teenageCoderAttacks@tc.com" }
Details:
{ error: 'E_UNKNOWN',
summary: 'Encountered an unexpected error',
status: 500,
raw: 'MongoError: E11000 duplicate key error index: hackerbracket.user.$email_1 dup key: { : "teenageCoderAttacks@tc.com" }' }
Message sent: 250 2.0.0 Ok: queued as 0BB98340C77
Message sent: 250 2.0.0 Ok: queued as 1BB8D1C0D56
Message sent: 250 2.0.0 Ok: queued as 031691C0391
Message sent: 250 2.0.0 Ok: queued as 99C5A1C00E5
Message sent: 250 2.0.0 Ok: queued as 02EA81C0802
Message sent: 250 2.0.0 Ok: queued as 2FEC81C0BFE
Message sent: 250 2.0.0 Ok: queued as 0B9B82004D2
Message sent: 250 2.0.0 Ok: queued as 3CDF42004D2
Message sent: 250 2.0.0 Ok: queued as ECB4F1C0303
Message sent: 250 2.0.0 Ok: queued as 5F5571C0802
Message sent: 250 2.0.0 Ok: queued as B56641C0484
A server error occurred in a request:
TypeError: Cannot call method 'indexOf' of undefined
at module.exports.create (/fortheon/source/api/controllers/UserController.js:30:41)
at middlewareWrapper (/fortheon/source/node_modules/sails/lib/router/bind.js:155:4)
at callbacks (/fortheon/source/node_modules/sails/node_modules/express/lib/router/index.js:164:37)
at param (/fortheon/source/node_modules/sails/node_modules/express/lib/router/index.js:138:11)
at pass (/fortheon/source/node_modules/sails/node_modules/express/lib/router/index.js:145:5)
at nextRoute (/fortheon/source/node_modules/sails/node_modules/express/lib/router/index.js:100:7)
at callbacks (/fortheon/source/node_modules/sails/node_modules/express/lib/router/index.js:167:11)
at /fortheon/source/node_modules/sails/lib/router/bind.js:163:5
at module.exports (/fortheon/source/api/policies/flash.js:5:32)
at middlewareWrapper (/fortheon/source/node_modules/sails/lib/router/bind.js:155:4) TypeError: Cannot call method 'indexOf' of undefined
A server error occurred in a request:
TypeError: Cannot call method 'indexOf' of undefined
at module.exports.create (/fortheon/source/api/controllers/UserController.js:30:41)
at middlewareWrapper (/fortheon/source/node_modules/sails/lib/router/bind.js:155:4)
at callbacks (/fortheon/source/node_modules/sails/node_modules/express/lib/router/index.js:164:37)
at param (/fortheon/source/node_modules/sails/node_modules/express/lib/router/index.js:138:11)
at pass (/fortheon/source/node_modules/sails/node_modules/express/lib/router/index.js:145:5)
at nextRoute (/fortheon/source/node_modules/sails/node_modules/express/lib/router/index.js:100:7)
at callbacks (/fortheon/source/node_modules/sails/node_modules/express/lib/router/index.js:167:11)
at /fortheon/source/node_modules/sails/lib/router/bind.js:163:5
at module.exports (/fortheon/source/api/policies/flash.js:5:32)
at middlewareWrapper (/fortheon/source/node_modules/sails/lib/router/bind.js:155:4) TypeError: Cannot call method 'indexOf' of undefined
Error (E_UNKNOWN) :: Encountered an unexpected error:
MongoError: E11000 duplicate key error index: hackerbracket.user.$email_1 dup key: { : "teenageCoderAttacks@tc.com" }
Details:
{ error: 'E_UNKNOWN',
summary: 'Encountered an unexpected error',
status: 500,
raw: 'MongoError: E11000 duplicate key error index: hackerbracket.user.$email_1 dup key: { : "teenageCoderAttacks@tc.com" }' }
Message sent: 250 2.0.0 Ok: queued as 5C7BC3400E8
{ title: 'Hexacolors',
description: 'A very simple color game that tests your reaction time.\r\n\r\nfourth time posting this hack cause #swagyoloturnup',
technologies: 'jQuery, Javascript, HTML/CSS',
_csrf: 'null' }
{ userPhoto:
{ fieldName: 'userPhoto',
originalFilename: 'hexacolors.mov',
path: '/tmp/31423-149n0io.mov',
headers:
{ 'content-disposition': 'form-data; name="userPhoto"; filename="hexacolors.mov"',
'content-type': 'video/quicktime' },
ws:
{ _writableState: [Object],
writable: true,
domain: null,
_events: [Object],
_maxListeners: 10,
path: '/tmp/31423-149n0io.mov',
fd: null,
flags: 'w',
mode: 438,
start: undefined,
pos: undefined,
bytesWritten: 11378584,
closed: true,
open: [Function],
_write: [Function],
destroy: [Function],
close: [Function],
destroySoon: [Function],
pipe: [Function],
write: [Function],
end: [Function],
setMaxListeners: [Function],
emit: [Function],
addListener: [Function],
on: [Function],
once: [Function],
removeListener: [Function],
removeAllListeners: [Function],
listeners: [Function] },
size: 11378584,
name: 'hexacolors.mov',
type: 'video/quicktime' } }
mov
Successfully uploaded data to hacks.hackerbracket/211feb6b-fc2b-4a4e-a918-db5605dfc0a0.mov
https://s3.amazonaws.com/hacks.hackerbracket/211feb6b-fc2b-4a4e-a918-db5605dfc0a0.mov
{ outputs:
[ { label: 'webm',
url: 'http://hacks.hackerbracket.s3.amazonaws.com/211feb6b-fc2b-4a4e-a918-db5605dfc0a0.webm',
id: 245315236 } ],
id: 93608387 }
creating...
created
{ title: 'QRMagic',
description: 'QRMagic is built by QR code experts in order to allow you to change codes on the fly, and track where your QR was scanned.',
technologies: 'nodejs, php, GamesToBeat Cloud',
_csrf: 'null' }
{ userPhoto:
{ fieldName: 'userPhoto',
originalFilename: 'clip0007.avi',
path: '/tmp/31423-k3z11d.avi',
headers:
{ 'content-disposition': 'form-data; name="userPhoto"; filename="clip0007.avi"',
'content-type': 'video/avi' },
ws:
{ _writableState: [Object],
writable: true,
domain: null,
_events: [Object],
_maxListeners: 10,
path: '/tmp/31423-k3z11d.avi',
fd: null,
flags: 'w',
mode: 438,
start: undefined,
pos: undefined,
bytesWritten: 55463706,
closed: true,
open: [Function],
_write: [Function],
destroy: [Function],
close: [Function],
destroySoon: [Function],
pipe: [Function],
write: [Function],
end: [Function],
setMaxListeners: [Function],
emit: [Function],
addListener: [Function],
on: [Function],
once: [Function],
removeListener: [Function],
removeAllListeners: [Function],
listeners: [Function] },
size: 55463706,
name: 'clip0007.avi',
type: 'video/avi' } }
avi
Successfully uploaded data to hacks.hackerbracket/4909e48f-3c36-462b-a1fb-729f3b93ee75.avi
https://s3.amazonaws.com/hacks.hackerbracket/4909e48f-3c36-462b-a1fb-729f3b93ee75.avi
{ outputs:
[ { label: 'webm',
url: 'http://hacks.hackerbracket.s3.amazonaws.com/4909e48f-3c36-462b-a1fb-729f3b93ee75.webm',
id: 245319371 } ],
id: 93609804 }
creating...
created
Error rendering view at :: /fortheon/source/views/hacks/recent
with layout located at :: /fortheon/source/views/layout
TypeError: /fortheon/source/views/hacks/recent.ejs:23
21|
Post a Hack
22|
Hacks
>> 23|
Profile
24|
Jobs
25|
Settings
26|
Signout
Cannot read property 'username' of undefined
at eval (eval at (/fortheon/source/node_modules/ejs/lib/ejs.js:236:14), :29:903)
at eval (eval at (/fortheon/source/node_modules/ejs/lib/ejs.js:236:14), :29:4437)
at /fortheon/source/node_modules/ejs/lib/ejs.js:249:15
at Object.exports.render (/fortheon/source/node_modules/ejs/lib/ejs.js:287:13)
at Object.exports.renderFile (/fortheon/source/node_modules/ejs/lib/ejs.js:317:20)
at module.exports [as engine] (/fortheon/source/node_modules/sails/node_modules/ejs-locals/index.js:85:7)
at View.render (/fortheon/source/node_modules/sails/node_modules/express/lib/view.js:76:8)
at Function.app.render (/fortheon/source/node_modules/sails/node_modules/express/lib/application.js:504:10)
at ServerResponse.res.render (/fortheon/source/node_modules/sails/node_modules/express/lib/response.js:801:7)
at ServerResponse._addResViewMethod.res.view (/fortheon/source/node_modules/sails/lib/hooks/views/res.view.js:162:14) TypeError: /fortheon/source/views/hacks/recent.ejs:23
21|
Post a Hack
22|
Hacks
>> 23|
Profile
24|
Jobs
25|
Settings
26|
Signout
Cannot read property 'username' of undefined
Error rendering view at :: /fortheon/source/views/hacks/recent
with layout located at :: /fortheon/source/views/layout
TypeError: /fortheon/source/views/hacks/recent.ejs:23
21|
Post a Hack
22|
Hacks
>> 23|
Profile
24|
Jobs
25|
Settings
26|
Signout
Cannot read property 'username' of undefined
at eval (eval at (/fortheon/source/node_modules/ejs/lib/ejs.js:236:14), :29:903)
at eval (eval at (/fortheon/source/node_modules/ejs/lib/ejs.js:236:14), :29:4437)
at /fortheon/source/node_modules/ejs/lib/ejs.js:249:15
at Object.exports.render (/fortheon/source/node_modules/ejs/lib/ejs.js:287:13)
at Object.exports.renderFile (/fortheon/source/node_modules/ejs/lib/ejs.js:317:20)
at module.exports [as engine] (/fortheon/source/node_modules/sails/node_modules/ejs-locals/index.js:85:7)
at View.render (/fortheon/source/node_modules/sails/node_modules/express/lib/view.js:76:8)
at Function.app.render (/fortheon/source/node_modules/sails/node_modules/express/lib/application.js:504:10)
at ServerResponse.res.render (/fortheon/source/node_modules/sails/node_modules/express/lib/response.js:801:7)
at ServerResponse._addResViewMethod.res.view (/fortheon/source/node_modules/sails/lib/hooks/views/res.view.js:162:14) TypeError: /fortheon/source/views/hacks/recent.ejs:23
21|
Post a Hack
22|
Hacks
>> 23|
Profile
24|
Jobs
25|
Settings
26|
Signout
Cannot read property 'username' of undefined
{ title: 'Scribe',
description: 'Scribe is an application that tutrns sketches or drawings into functional websites. Scribe was created by Adam Smith, Ankit Ranjan, Michael Scaria, and Zach Latta for PennApps Spring 2014.',
technologies: 'opencv, c++, python, flask',
_csrf: 'null' }
{ userPhoto:
{ fieldName: 'userPhoto',
originalFilename: 'Scribe.mp4',
path: '/tmp/31423-gc3dko.mp4',
headers:
{ 'content-disposition': 'form-data; name="userPhoto"; filename="Scribe.mp4"',
'content-type': 'video/mp4' },
ws:
{ _writableState: [Object],
writable: true,
domain: null,
_events: [Object],
_maxListeners: 10,
path: '/tmp/31423-gc3dko.mp4',
fd: null,
flags: 'w',
mode: 438,
start: undefined,
pos: undefined,
bytesWritten: 7417801,
closed: true,
open: [Function],
_write: [Function],
destroy: [Function],
close: [Function],
destroySoon: [Function],
pipe: [Function],
write: [Function],
end: [Function],
setMaxListeners: [Function],
emit: [Function],
addListener: [Function],
on: [Function],
once: [Function],
removeListener: [Function],
removeAllListeners: [Function],
listeners: [Function] },
size: 7417801,
name: 'Scribe.mp4',
type: 'video/mp4' } }
mp4
Successfully
uploaded data to hacks.hackerbracket/fca784f8-bbcf-4cc3-9373-c5c8dd11cbb5.mp4
https://s3.amazonaws.com/hacks.hackerbracket/fca784f8-bbcf-4cc3-9373-c5c8dd11cbb5.mp4
{ outputs:
[ { label: 'webm',
url: 'http://hacks.hackerbracket.s3.amazonaws.com/fca784f8-bbcf-4cc3-9373-c5c8dd11cbb5.webm',
id: 245320094 } ],
id: 93610066 }
creating...
created
Error rendering view at :: /fortheon/source/views/hacks/recent
with layout located at :: /fortheon/source/views/layout
TypeError: /fortheon/source/views/hacks/recent.ejs:23
21|
Post a Hack
22|
Hacks
>> 23|
Profile
24|
Jobs
25|
Settings
26|
Signout
Cannot read property 'username' of undefined
at eval (eval at (/fortheon/source/node_modules/ejs/lib/ejs.js:236:14), :29:903)
at eval (eval at (/fortheon/source/node_modules/ejs/lib/ejs.js:236:14), :29:4437)
at /fortheon/source/node_modules/ejs/lib/ejs.js:249:15
at Object.exports.render (/fortheon/source/node_modules/ejs/lib/ejs.js:287:13)
at Object.exports.renderFile (/fortheon/source/node_modules/ejs/lib/ejs.js:317:20)
at module.exports [as engine] (/fortheon/source/node_modules/sails/node_modules/ejs-locals/index.js:85:7)
at View.render (/fortheon/source/node_modules/sails/node_modules/express/lib/view.js:76:8)
at Function.app.render (/fortheon/source/node_modules/sails/node_modules/express/lib/application.js:504:10)
at ServerResponse.res.render (/fortheon/source/node_modules/sails/node_modules/express/lib/response.js:801:7)
at ServerResponse._addResViewMethod.res.view (/fortheon/source/node_modules/sails/lib/hooks/views/res.view.js:162:14) TypeError: /fortheon/source/views/hacks/recent.ejs:23
21|
Post a Hack
22|
Hacks
>> 23|
Profile
24|
Jobs
25|
Settings
26|
Signout
Cannot read property 'username' of undefined
Error (E_VALIDATION) :: 1 attribute is invalid:
username:
Validation error: "hacks" Rule "notContains(hacks)" failed.
Details:
{ error: 'E_VALIDATION',
model: 'User',
summary: '1 attribute is invalid',
status: 400,
invalidAttributes: { username: [ [Object] ] } }
Message sent: 250 2.0.0 Ok: queued as 274CC200B14
Message sent: 250 2.0.0 Ok: queued as C08A71C0158
Message sent: 250 2.0.0 Ok: queued as BDB38C01C8
Message sent: 250 2.0.0 Ok: queued as 5BC8C1800E0
Message sent: 250 2.0.0 Ok: queued as ED32520417
/fortheon/source/node_modules/sails-mongo/node_modules/mongodb/lib/mongodb/connection/base.js:242
throw message;
^
TypeError: Object # has no method 'notFound'
at found (/fortheon/source/node_modules/sails/lib/hooks/blueprints/actions/destroy.js:45:27)
at bound (/fortheon/source/node_modules/lodash/dist/lodash.js:957:21)
at applyInOriginalCtx (/fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/utils/normalize.js:362:80)
at wrappedCallback (/fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/utils/normalize.js:261:18)
at _normalizeCallback.callback.success (/fortheon/source/node_modules/sails/node_modules/waterline/node_modules/node-switchback/lib/normalize.js:33:26)
at _switch (/fortheon/source/node_modules/sails/node_modules/waterline/node_modules/node-switchback/lib/factory.js:34:26)
at returnResults (/fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/query/finders/basic.js:141:29)
at /fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/query/finders/basic.js:69:16
at /fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/query/finders/operations.js:77:25
at bound (/fortheon/source/node_modules/lodash/dist/lodash.js:957:21)
Warning: connection.session() MemoryStore is not
designed for a production environment, as it will leak
memory, and will not scale past a single process.
Sails <|
v0.10.0-rc4 |\
/|.\
/ || \
,' |' \
.-'.-==|/_--'
`--'-------'
__---___--___---___--___---___--___
____---___--___---___--___---___--___-__
Server lifted in `/fortheon/source`
To see your app, visit http://localhost
To shut down Sails, press + C at any time.
--------------------------------------------------------
:: Mon May 12 2014 23:44:28 GMT-0400 (EDT)
Environment : production
Port : 80
--------------------------------------------------------
Deprecated: `config.adapters.default`
(see http://links.sailsjs.org/docs/config/connections)
For now, I'll pretend you set `config.models.connection`.
Deprecated: `config.adapters`
(see http://links.sailsjs.org/docs/config/connections)
For now, I'll pretend you set `config.connections`.
Deprecated: `config.adapters.*.module`
(see http://links.sailsjs.org/docs/config/connections)
For now, I'll pretend you set `config.connections["mongo"].adapter`.
Deprecated: `sails.config[500]`
(see http://links.sailsjs.org/config/responses)
sails.config[500] (i.e. `config/500.js`) has been superceded in Sails v0.10.
Please define a "response" instead. (i.e. api/responses/serverError.js)
Your old handler is being ignored. (the format has been upgraded in v0.10)
Deprecated: `sails.config[404]`
(see http://links.sailsjs.org/config/responses)
Please define a "response" instead. (i.e. api/responses/notFound.js)
Your old handler is being ignored. (the format has been upgraded in v0.10)
Notice: File uploads are changing, y'all.
`connect.multipart()` will be removed in Express 4.0 / Connect 3.0.
We're working on it-- for now, the default multipart body parser is still included.
In the mean time, for alternatives and more info, check out:
-> https://gist.github.com/mikermcneil/8249181
-> https://github.com/senchalabs/connect/wiki/Connect-3.0
(to silence this warning, change `config/express.js`)
/fortheon/source/node_modules/sails-mongo/node_modules/mongodb/lib/mongodb/connection/base.js:242
throw message;
^
TypeError: Object # has no method 'notFound'
at found (/fortheon/source/node_modules/sails/lib/hooks/blueprints/actions/destroy.js:45:27)
at bound (/fortheon/source/node_modules/lodash/dist/lodash.js:957:21)
at applyInOriginalCtx (/fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/utils/normalize.js:362:80)
at wrappedCallback (/fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/utils/normalize.js:261:18)
at _normalizeCallback.callback.success (/fortheon/source/node_modules/sails/node_modules/waterline/node_modules/node-switchback/lib/normalize.js:33:26)
at _switch (/fortheon/source/node_modules/sails/node_modules/waterline/node_modules/node-switchback/lib/factory.js:34:26)
at returnResults (/fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/query/finders/basic.js:141:29)
at /fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/query/finders/basic.js:69:16
at /fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/query/finders/operations.js:77:25
at bound (/fortheon/source/node_modules/lodash/dist/lodash.js:957:21)
Warning: connection.session() MemoryStore is not
designed for a production environment, as it will leak
memory, and will not scale past a single process.
--------------------------------------------------------
:: Mon May 12 2014 23:44:46 GMT-0400 (EDT)
Environment : production
Port : 80
--------------------------------------------------------
Sails <|
v0.10.0-rc4 |\
/|.\
/ || \
,' |' \
.-'.-==|/_--'
`--'-------'
__---___--___---___--___---___--___
____---___--___---___--___---___--___-__
Server lifted in `/fortheon/source`
To see your app, visit http://localhost
To shut down Sails, press + C at any time.
Deprecated: `config.adapters.default`
(see http://links.sailsjs.org/docs/config/connections)
For now, I'll pretend you set `config.models.connection`.
Deprecated: `config.adapters`
(see http://links.sailsjs.org/docs/config/connections)
For now, I'll pretend you set `config.connections`.
Deprecated: `config.adapters.*.module`
(see http://links.sailsjs.org/docs/config/connections)
For now, I'll pretend you set `config.connections["mongo"].adapter`.
Deprecated: `sails.config[500]`
(see http://links.sailsjs.org/config/responses)
sails.config[500] (i.e. `config/500.js`) has been superceded in Sails v0.10.
Please define a "response" instead. (i.e. api/responses/serverError.js)
Your old handler is being ignored. (the format has been upgraded in v0.10)
Deprecated: `sails.config[404]`
(see http://links.sailsjs.org/config/responses)
Please define a "response" instead. (i.e. api/responses/notFound.js)
Your old handler is being ignored. (the format has been upgraded in v0.10)
Notice: File uploads are changing, y'all.
`connect.multipart()` will be removed in Express 4.0 / Connect 3.0.
We're working on it-- for now, the default multipart body parser is still included.
In the mean time, for alternatives and more info, check out:
-> https://gist.github.com/mikermcneil/8249181
-> https://github.com/senchalabs/connect/wiki/Connect-3.0
(to silence this warning, change `config/express.js`)
Error rendering view at :: /fortheon/source/views/hacks/recent
with layout located at :: /fortheon/source/views/layout
TypeError: /fortheon/source/views/hacks/recent.ejs:23
21|
Post a Hack
22|
Hacks
>> 23|
Profile
24|
Jobs
25|
Settings
26|
Signout
Cannot read property 'username' of undefined
at eval (eval at (/fortheon/source/node_modules/ejs/lib/ejs.js:236:14), :29:903)
at eval (eval at (/fortheon/source/node_modules/ejs/lib/ejs.js:236:14), :29:4437)
at /fortheon/source/node_modules/ejs/lib/ejs.js:249:15
at Object.exports.render (/fortheon/source/node_modules/ejs/lib/ejs.js:287:13)
at Object.exports.renderFile (/fortheon/source/node_modules/ejs/lib/ejs.js:317:20)
at module.exports [as engine] (/fortheon/source/node_modules/sails/node_modules/ejs-locals/index.js:85:7)
at View.render (/fortheon/source/node_modules/sails/node_modules/express/lib/view.js:76:8)
at Function.app.render (/fortheon/source/node_modules/sails/node_modules/express/lib/application.js:504:10)
at ServerResponse.res.render (/fortheon/source/node_modules/sails/node_modules/express/lib/response.js:801:7)
at ServerResponse._addResViewMethod.res.view (/fortheon/source/node_modules/sails/lib/hooks/views/res.view.js:162:14) TypeError: /fortheon/source/views/hacks/recent.ejs:23
21|
Post a Hack
22|
Hacks
>> 23|
Profile
24|
Jobs
25|
Settings
26|
Signout
Cannot read property 'username' of undefined
/fortheon/source/node_modules/sails-mongo/node_modules/mongodb/lib/mongodb/connection/base.js:242
throw message;
^
TypeError: Object # has no method 'notFound'
at found (/fortheon/source/node_modules/sails/lib/hooks/blueprints/actions/destroy.js:45:27)
at bound (/fortheon/source/node_modules/lodash/dist/lodash.js:957:21)
at applyInOriginalCtx (/fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/utils/normalize.js:362:80)
at wrappedCallback (/fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/utils/normalize.js:261:18)
at _normalizeCallback.callback.success (/fortheon/source/node_modules/sails/node_modules/waterline/node_modules/node-switchback/lib/normalize.js:33:26)
at _switch (/fortheon/source/node_modules/sails/node_modules/waterline/node_modules/node-switchback/lib/factory.js:34:26)
at returnResults (/fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/query/finders/basic.js:141:29)
at /fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/query/finders/basic.js:69:16
at /fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/query/finders/operations.js:77:25
at bound (/fortheon/source/node_modules/lodash/dist/lodash.js:957:21)
Warning: connection.session() MemoryStore is not
designed for a production environment, as it will leak
memory, and will not scale past a single process.
Sails <|
v0.10.0-rc4 |\
/|.\
/ || \
,' |' \
.-'.-==|/_--'
`--'-------'
__---___--___---___--___---___--___
____---___--___---___--___---___--___-__
Se
rver lifted in `/fortheon/source`
To see your app, visit http://localhost
To shut down Sails, press + C at any time.
--------------------------------------------------------
:: Mon May 12 2014 23:44:58 GMT-0400 (EDT)
Environment : production
Port : 80
--------------------------------------------------------
Deprecated: `config.adapters.default`
(see http://links.sailsjs.org/docs/config/connections)
For now, I'll pretend you set `config.models.connection`.
Deprecated: `config.adapters`
(see http://links.sailsjs.org/docs/config/connections)
For now, I'll pretend you set `config.connections`.
Deprecated: `config.adapters.*.module`
(see http://links.sailsjs.org/docs/config/connections)
For now, I'll pretend you set `config.connections["mongo"].adapter`.
Deprecated: `sails.config[500]`
(see http://links.sailsjs.org/config/responses)
sails.config[500] (i.e. `config/500.js`) has been superceded in Sails v0.10.
Please define a "response" instead. (i.e. api/responses/serverError.js)
Your old handler is being ignored. (the format has been upgraded in v0.10)
Deprecated: `sails.config[404]`
(see http://links.sailsjs.org/config/responses)
Please define a "response" instead. (i.e. api/responses/notFound.js)
Your old handler is being ignored. (the format has been upgraded in v0.10)
Notice: File uploads are changing, y'all.
`connect.multipart()` will be removed in Express 4.0 / Connect 3.0.
We're working on it-- for now, the default multipart body parser is still included.
In the mean time, for alternatives and more info, check out:
-> https://gist.github.com/mikermcneil/8249181
-> https://github.com/senchalabs/connect/wiki/Connect-3.0
(to silence this warning, change `config/express.js`)
/fortheon/source/node_modules/sails-mongo/node_modules/mongodb/lib/mongodb/connection/base.js:242
throw message;
^
TypeError: Object # has no method 'notFound'
at found (/fortheon/source/node_modules/sails/lib/hooks/blueprints/actions/destroy.js:45:27)
at bound (/fortheon/source/node_modules/lodash/dist/lodash.js:957:21)
at applyInOriginalCtx (/fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/utils/normalize.js:362:80)
at wrappedCallback (/fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/utils/normalize.js:261:18)
at _normalizeCallback.callback.success (/fortheon/source/node_modules/sails/node_modules/waterline/node_modules/node-switchback/lib/normalize.js:33:26)
at _switch (/fortheon/source/node_modules/sails/node_modules/waterline/node_modules/node-switchback/lib/factory.js:34:26)
at returnResults (/fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/query/finders/basic.js:141:29)
at /fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/query/finders/basic.js:69:16
at /fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/query/finders/operations.js:77:25
at bound (/fortheon/source/node_modules/lodash/dist/lodash.js:957:21)
Warning: connection.session() MemoryStore is not
designed for a production environment, as it will leak
memory, and will not scale past a single process.
--------------------------------------------------------
:: Mon May 12 2014 23:45:03 GMT-0400 (EDT)
Environment : production
Port : 80
--------------------------------------------------------
Sails <|
v0.10.0-rc4 |\
/|.\
/ || \
,' |' \
.-'.-==|/_--'
`--'-------'
__---___--___---___--___---___--___
____---___--___---___--___---___--___-__
Server lifted in `/fortheon/source`
To see your app, visit http://localhost
To shut down Sails, press + C at any time.
Deprecated: `config.adapters.default`
(see http://links.sailsjs.org/docs/config/connections)
For now, I'll pretend you set `config.models.connection`.
Deprecated: `config.adapters`
(see http://links.sailsjs.org/docs/config/connections)
For now, I'll pretend you set `config.connections`.
Deprecated: `config.adapters.*.module`
(see http://links.sailsjs.org/docs/config/connections)
For now, I'll pretend you set `config.connections["mongo"].adapter`.
Deprecated: `sails.config[500]`
(see http://links.sailsjs.org/config/responses)
sails.config[500] (i.e. `config/500.js`) has been superceded in Sails v0.10.
Please define a "response" instead. (i.e. api/responses/serverError.js)
Your old handler is being ignored. (the format has been upgraded in v0.10)
Deprecated: `sails.config[404]`
(see http://links.sailsjs.org/config/responses)
Please define a "response" instead. (i.e. api/responses/notFound.js)
Your old handler is being ignored. (the format has been upgraded in v0.10)
Notice: File uploads are changing, y'all.
`connect.multipart()` will be removed in Express 4.0 / Connect 3.0.
We're working on it-- for now, the default multipart body parser is still included.
In the mean time, for alternatives and more info, check out:
-> https://gist.github.com/mikermcneil/8249181
-> https://github.com/senchalabs/connect/wiki/Connect-3.0
(to silence this warning, change `config/express.js`)
/fortheon/source/node_modules/sails-mongo/node_modules/mongodb/lib/mongodb/connection/base.js:242
throw message;
^
TypeError: Object # has no method 'notFound'
at found (/fortheon/source/node_modules/sails/lib/hooks/blueprints/actions/destroy.js:45:27)
at bound (/fortheon/source/node_modules/lodash/dist/lodash.js:957:21)
at applyInOriginalCtx (/fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/utils/normalize.js:362:80)
at wrappedCallback (/fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/utils/normalize.js:261:18)
at _normalizeCallback.callback.success (/fortheon/source/node_modules/sails/node_modules/waterline/node_modules/node-switchback/lib/normalize.js:33:26)
at _switch (/fortheon/source/node_modules/sails/node_modules/waterline/node_modules/node-switchback/lib/factory.js:34:26)
at returnResults (/fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/query/finders/basic.js:141:29)
at /fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/query/finders/basic.js:69:16
at /fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/query/finders/operations.js:77:25
at bound (/fortheon/source/node_modules/lodash/dist/lodash.js:957:21)
Warning: connection.session() MemoryStore is not
designed for a production environment, as it will leak
memory, and will not scale past a single process.
Sails <|
v0.10.0-rc4 |\
/|.\
/ || \
,' |' \
.-'.-==|/_--'
`--'-------'
__---___--___---___--___---___--___
____---___--___---___--___---___--___-__
Server lifted in `/fortheon/source`
To see your app, visit http://localhost
To shut down Sails, press + C at any time.
--------------------------------------------------------
:: Mon May 12 2014 23:45:14 GMT-0400 (EDT)
Environment : production
Port : 80
--------------------------------------------------------
Deprecated: `config.adapters.default`
(see http://links.sailsjs.org/docs/config/connections)
For now, I'll pretend you set `config.models.connection`.
Deprecated: `config.adapters`
(see http://links.sailsjs.org/docs/config/connections)
For now, I'll pretend you set `config.connections`.
Deprecated: `config.adapters.*.module`
(see http://links.sailsjs.org/docs/config/connections)
For now, I'll pretend you set `config.connections["mongo"].adapter`.
Deprecated: `sails.config[500]`
(see http://links.sailsjs.org/config/responses)
sails.config[500] (i.e. `config/500.js`) has been superceded in Sails v0.10.
Please define a "response" instead. (i.e. api/responses/serverError.js)
Your old handler is being ignored. (the format has been upgraded in v0.10)
Deprecated: `sails.config[404]`
(see http://links.sailsjs.org/config/responses)
Please define a "response" instead. (i.e. api/responses/notFound.js)
Your old handler is being ignored. (the format has been upgraded in v0.10)
Notice: File uploads are changing, y'all.
`connect.multipart()` will be removed in Express 4.0 / Connect 3.0.
We're working on it-- for now, the default multipart body parser is still included.
In the mean time, for alternatives and more info, check out:
-> https://gist.github.com/mikermcneil/8249181
-> https://github.com/senchalabs/connect/wiki/Connect-3.0
(to silence this warning, change `config/express.js`)
/fortheon/source/node_modules/sails-mongo/node_modules/mongodb/lib/mongodb/connection/base.js:242
throw message;
^
TypeError: Object # has no method 'notFound'
at found (/fortheon/source/node_modules/sails/lib/hooks/blueprints/actions/destroy.js:45:27)
at bound (/fortheon/source/node_modules/lodash/dist/lodash.js:957:21)
at applyInOriginalCtx (/fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/utils/normalize.js:362:80)
at wrappedCallback (/fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/utils/normalize.js:261:18)
at _normalizeCallback.callback.success (/fortheon/source/node_modules/sails/node_modules/waterline/node_modules/node-switchback/lib/normalize.js:33:26)
at _switch (/fortheon/source/node_modules/sails/node_modules/waterline/node_modules/node-switchback/lib/factory.js:34:26)
at returnResults (/fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/query/finders/basic.js:141:29)
at /fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/query/finders/basic.js:69:16
at /fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/query/finders/operations.js:77:25
at bound (/fortheon/source/node_modules/lodash/dist/lodash.js:957:21)
Warning: connection.session() MemoryStore is not
designed for a production environment, as it will leak
memory, and will not scale past a single process.
Sails <|
v0.10.0-rc4 |\
/|.\
/ || \
,' |' \
.-'.-==|/_--'
`--'-------'
__---___--___---___--___---___--___
____---___--___---___--___---___--___-__
Server lifted in `/fortheon/source`
To see your app, visit http://localhost
To shut down Sails, press + C at any time.
--------------------------------------------------------
:: Mon May 12 2014 23:45:26 GMT-0400 (EDT)
Environment : production
Port : 80
--------------------------------------------------------
Deprecated: `config.adapters.default`
(see http://links.sailsjs.org/docs/config/connections)
For now, I'll pretend you set `config.models.connection`.
Deprecated: `config.adapters`
(see http://links.sailsjs.org/docs/config/connections)
For now, I'll pretend you set `config.connections`.
Deprecated: `config.adapters.*.module`
(see http://links.sailsjs.org/docs/config/connections)
For now, I'll pretend you set `config.connections["mongo"].adapter`.
Deprecated: `sails.config[500]`
(see http://links.sailsjs.org/config/responses)
sails.config[500] (i.e. `config/500.js`) has been superceded in Sails v0.10.
Please define a "response" instead. (i.e. api/responses/serverError.js)
Your old handler is being ignored. (the format has been upgraded in v0.10)
Deprecated: `sails.config[404]`
(see http://links.sailsjs.org/config/responses)
Please define a "response" instead. (i.e. api/responses/notFound.js)
Your old handler is being ignored. (the format has been upgraded in v0.10)
Notice: File uploads are changing, y'all.
`connect.multipart()` will be removed in Express 4.0 / Connect 3.0.
We're working on it-- for now, the default multipart body parser is still included.
In the mean time, for alternatives and more info, check out:
-> https://gist.github.com/mikermcneil/8249181
-> https://github.com/senchalabs/connect/wiki/Connect-3.0
(to silence this warning, change `config/express.js`)
Error rendering view at :: /fortheon/source/views/hacks/recent
with layout located at :: /fortheon/source/views/layout
TypeError: /fortheon/source/views/hacks/recent.ejs:23
21|
Post a Hack
22|
Hacks
>> 23|
Profile
24|
Jobs
25|
Settings
26|
Signout
Cannot read property 'username' of undefined
at eval (eval at (/fortheon/source/node_modules/ejs/lib/ejs.js:236:14), :29:903)
at eval (eval at (/fortheon/source/node_modules/ejs/lib/ejs.js:236:14), :29:4437)
at /fortheon/source/node_modules/ejs/lib/ejs.js:249:15
at Object.exports.render (/fortheon/source/node_modules/ejs/lib/ejs.js:287:13)
at Object.exports.renderFile (/fortheon/source/node_modules/ejs/lib/ejs.js:317:20)
at module.exports [as engine] (/fortheon/source/node_modules/sails/node_modules/ejs-locals/index.js:85:7)
at View.render (/fortheon/source/node_modules/sails/node_modules/express/lib/view.js:76:8)
at Function.app.render (/fortheon/source/node_modules/sails/node_modules/express/lib/application.js:504:10)
at ServerResponse.res.render (/fortheon/source/node_modules/sails/node_modules/express/lib/response.js:801:7)
at ServerResponse._addResViewMethod.res.view (/fortheon/source/node_modules/sails/lib/hooks/views/res.view.js:162:14) TypeError: /fortheon/source/views/hacks/recent.ejs:23
21|
Post a Hack
22|
Hacks
>> 23|
Profile
24|
Jobs
25|
Settings
26|
Signout
Cannot read property 'username' of undefined
Error rendering view at :: /fortheon/source/views/hacks/recent
with layout located at :: /fortheon/source/views/layout
TypeError: /fortheon/source/views/hacks/recent.ejs:23
21|
Post a Hack
22|
s="nav-link" id="first-link" href="/hacks/recent">
Hacks
>> 23|
Profile
24|
Jobs
25|
Settings
26|
Signout
Cannot read property 'username' of undefined
at eval (eval at (/fortheon/source/node_modules/ejs/lib/ejs.js:236:14), :29:903)
at eval (eval at (/fortheon/source/node_modules/ejs/lib/ejs.js:236:14), :29:4437)
at /fortheon/source/node_modules/ejs/lib/ejs.js:249:15
at Object.exports.render (/fortheon/source/node_modules/ejs/lib/ejs.js:287:13)
at Object.exports.renderFile (/fortheon/source/node_modules/ejs/lib/ejs.js:317:20)
at module.exports [as engine] (/fortheon/source/node_modules/sails/node_modules/ejs-locals/index.js:85:7)
at View.render (/fortheon/source/node_modules/sails/node_modules/express/lib/view.js:76:8)
at Function.app.render (/fortheon/source/node_modules/sails/node_modules/express/lib/application.js:504:10)
at ServerResponse.res.render (/fortheon/source/node_modules/sails/node_modules/express/lib/response.js:801:7)
at ServerResponse._addResViewMethod.res.view (/fortheon/source/node_modules/sails/lib/hooks/views/res.view.js:162:14) TypeError: /fortheon/source/views/hacks/recent.ejs:23
21|
Post a Hack
22|
Hacks
>> 23|
Profile
24|
Jobs
25|
Settings
26|
Signout
Cannot read property 'username' of undefined
Error rendering view at :: /fortheon/source/views/hacks/recent
with layout located at :: /fortheon/source/views/layout
TypeError: /fortheon/source/views/hacks/recent.ejs:23
21|
Post a Hack
22|
Hacks
>> 23|
Profile
24|
Jobs
25|
Settings
26|
Signout
Cannot read property 'username' of undefined
at eval (eval at (/fortheon/source/node_modules/ejs/lib/ejs.js:236:14), :29:903)
at eval (eval at (/fortheon/source/node_modules/ejs/lib/ejs.js:236:14), :29:4437)
at /fortheon/source/node_modules/ejs/lib/ejs.js:249:15
at Object.exports.render (/fortheon/source/node_modules/ejs/lib/ejs.js:287:13)
at Object.exports.renderFile (/fortheon/source/node_modules/ejs/lib/ejs.js:317:20)
at module.exports [as engine] (/fortheon/source/node_modules/sails/node_modules/ejs-locals/index.js:85:7)
at View.render (/fortheon/source/node_modules/sails/node_modules/express/lib/view.js:76:8)
at Function.app.render (/fortheon/source/node_modules/sails/node_modules/express/lib/application.js:504:10)
at ServerResponse.res.render (/fortheon/source/node_modules/sails/node_modules/express/lib/response.js:801:7)
at ServerResponse._addResViewMethod.res.view (/fortheon/source/node_modules/sails/lib/hooks/views/res.view.js:162:14) TypeError: /fortheon/source/views/hacks/recent.ejs:23
21|
Post a Hack
22|
Hacks
>> 23|
Profile
24|
Jobs
25|
Settings
26|
Signout
Cannot read property 'username' of undefined
/fortheon/source/node_modules/sails-mongo/node_modules/mongodb/lib/mongodb/connection/base.js:242
throw message;
^
TypeError: Object # has no method 'notFound'
at found (/fortheon/source/node_modules/sails/lib/hooks/blueprints/actions/destroy.js:45:27)
at bound (/fortheon/source/node_modules/lodash/dist/lodash.js:957:21)
at applyInOriginalCtx (/fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/utils/normalize.js:362:80)
at wrappedCallback (/fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/utils/normalize.js:261:18)
at _normalizeCallback.callback.success (/fortheon/source/node_modules/sails/node_modules/waterline/node_modules/node-switchback/lib/normalize.js:33:26)
at _switch (/fortheon/source/node_modules/sails/node_modules/waterline/node_modules/node-switchback/lib/factory.js:34:26)
at returnResults (/fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/query/finders/basic.js:141:29)
at /fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/query/finders/basic.js:69:16
at /fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/query/finders/operations.js:77:25
at bound (/fortheon/source/node_modules/lodash/dist/lodash.js:957:21)
Warning: connection.session() MemoryStore is not
designed for a production environment, as it will leak
memory, and will not scale past a single process.
Sails <|
v0.10.0-rc4 |\
/|.\
/ || \
,' |' \
.-'.-==|/_--'
`--'-------'
__---___--___---___--___---___--___
____---___--___---___--___---___--___-__
Server lifted in `/fortheon/source`
To see your app, visit http://localhost
To shut down Sails, press + C at any time.
--------------------------------------------------------
:: Mon May 12 2014 23:50:48 GMT-0400 (EDT)
Environment : production
Port : 80
--------------------------------------------------------
Deprecated: `config.adapters.default`
(see http://links.sailsjs.org/docs/config/connections)
For now, I'll pretend you set `config.models.connection`.
Deprecated: `config.adapters`
(see http://links.sailsjs.org/docs/config/connections)
For now, I'll pretend you set `config.connections`.
Deprecated: `config.adapters.*.module`
(see http://links.sailsjs.org/docs/config/connections)
For now, I'll pretend you set `config.connections["mongo"].adapter`.
Deprecated: `sails.config[500]`
(see http://links.sailsjs.org/config/responses)
sails.config[500] (i.e. `config/500.js`) has been superceded in Sails v0.10.
Please define a "response" instead. (i.e. api/responses/serverError.js)
Your old handler is being ignored. (the format has been upgraded in v0.10)
Deprecated: `sails.config[404]`
(see http://links.sailsjs.org/config/responses)
Please define a "response" instead. (i.e. api/responses/notFound.js)
Your old handler is being ignored. (the format has been upgraded in v0.10)
Notice: File uploads are changing, y'all.
`connect.multipart()` will be removed in Express 4.0 / Connect 3.0.
We're working on it-- for now, the default multipart body parser is still included.
In the mean time, for alternatives and more info, check out:
-> https://gist.github.com/mikermcneil/8249181
-> https://github.com/senchalabs/connect/wiki/Connect-3.0
(to silence this warning, change `config/express.js`)
/fortheon/source/node_modules/sails-mongo/node_modules/mongodb/lib/mongodb/connection/base.js:242
throw message;
^
TypeError: Object # has no method 'notFound'
at found (/fortheon/source/node_modules/sails/lib/hooks/blueprints/actions/destroy.js:45:27)
at bound (/fortheon/source/node_modules/lodash/dist/lodash.js:957:21)
at applyInOriginalCtx (/fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/utils/normalize.js:362:80)
at wrappedCallback (/fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/utils/normalize.js:261:18)
at _normalizeCallback.callback.success (/fortheon/source/node_modules/sails/node_modules/waterline/node_modules/node-switchback/lib/normalize.js:33:26)
at _switch (/fortheon/source/node_modules/sails/node_modules/waterline/node_modules/node-switchback/lib/factory.js:34:26)
at returnResults (/fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/query/finders/basic.js:141:29)
at /fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/query/finders/basic.js:69:16
at /fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/query/finders/operations.js:77:25
at bound (/fortheon/source/node_modules/lodash/dist/lodash.js:957:21)
Warning: connection.session() MemoryStore is not
designed for a production environment, as it will leak
memory, and will not scale past a single process.
--------------------------------------------------------
:: Mon May 12 2014 23:50:59 GMT-0400 (EDT)
Environment : production
Port : 80
--------------------------------------------------------
Sails <|
v0.10.0-rc4 |\
/|.\
/ || \
,' |' \
.-'.-==|/_--'
`--'-------'
__---___--___---___--___---___--___
____---___--___---___--___---___--___-__
Server lifted in `/fortheon/source`
To see your app, visit http://localhost
To shut down Sails, press + C at any time.
Deprecated: `config.adapters.default`
(see http://links.sailsjs.org/docs/config/connections)
For now, I'll pretend you set `config.models.connection`.
Deprecated: `config.adapters`
(see http://links.sailsjs.org/docs/config/connections)
For now, I'll pretend you set `config.connections`.
Deprecated: `config.adapters.*.module`
(see http://links.sailsjs.org/docs/config/connections)
For now, I'll pretend you set `config.connections["mongo"].adapter`.
Deprecated: `sails.config[500]`
(see http://links.sailsjs.org/config/responses)
sails.config[500] (i.e. `config/500.js`) has been superceded in Sails v0.10.
Please define a "response" instead. (i.e. api/responses/serverError.js)
Your old handler is being ignored. (the format has been upgraded in v0.10)
Deprecated: `sails.config[404]`
(see http://links.sailsjs.org/config/responses)
Please define a "response" instead. (i.e. api/responses/notFound.js)
Your old handler is being ignored. (the format has been upgraded in v0.10)
Notice: File uploads are changing, y'all.
`connect.multipart()` will be removed in Express 4.0 / Connect 3.0.
We're working on it-- for now, the default multipart body parser is still included.
In the mean time, for alternatives and more info, check out:
-> https://gist.github.com/mikermcneil/8249181
-> https://github.com/senchalabs/connect/wiki/Connect-3.0
(to silence this warning, change `config/express.js`)
/fortheon/source/node_modules/sails-mongo/node_modules/mongodb/lib/mongodb/connection/base.js:242
throw message;
^
TypeError: Object # has no method 'notFound'
at found (/fortheon/source/node_modules/sails/lib/hooks/blueprints/actions/destroy.js:45:27)
at bound (/fortheon/source/node_modules/lodash/dist/lodash.js:957:21)
at applyInOriginalCtx (/fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/utils/normalize.js:362:80)
at wrappedCallback (/fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/utils/normalize.js:261:18)
at _normalizeCallback.callback.success (/fortheon/source/node_modules/sails/node_modules/waterline/node_modules/node-switchback/lib/normalize.js:33:26)
at _switch (/fortheon/source/node_modules/sails/node_modules/waterline/node_modules/node-switchback/lib/factory.js:34:26)
at returnResults (/fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/query/finders/basic.js:141:29)
at /fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/query/finders/basic.js:69:16
at /fortheon/source/node_modules/sails/node_modules/waterline/lib/waterline/query/finders/operations.js:77:25
at bound (/fortheon/source/node_modules/lodash/dist/lodash.js:957:21)
Warning: connection.session() MemoryStore is not
designed for a production environment, as it will leak
memory, and will not scale past a single process.
Sails <|
v0.10.0-rc4 |\
/|.\
/ || \
,' |' \
.-'.-==|/_--'
`--'-------'
__---___--___---___--___---___--___
____---___--___---___--___---___--___-__
Server lifted in `/fortheon/source`
To see your app, visit http://localhost
To shut down Sails, press + C at any time.
--------------------------------------------------------
:: Mon May 12 2014 23:51:10 GMT-0400 (EDT)
Environment : production
Port : 80
--------------------------------------------------------
Deprecated: `config.adapters.default`
(see http://links.sailsjs.org/docs/config/connections)
For now, I'll pretend you set `config.models.connection`.
Deprecated: `config.adapters`
(see http://links.sailsjs.org/docs/config/connections)
For now, I'll pretend you set `config.connections`.
Deprecated: `config.adapters.*.module`
(see http://links.sailsjs.org/docs/config/connections)
For now, I'll pretend you set `config.connections["mongo"].adapter`.
Deprecated: `sails.config[500]`
(see http://links.sailsjs.org/config/responses)
sails.config[500] (i.e. `config/500.js`) has been superceded in Sails v0.10.
Please define a "response" instead. (i.e. api/responses/serverError.js)
Your old handler is being ignored. (the format has been upgraded in v0.10)
Deprecated: `sails.config[404]`
(see http://links.sailsjs.org/config/responses)
Please define a "response" instead. (i.e. api/responses/notFound.js)
Your old handler is being ignored. (the format has been upgraded in v0.10)
Notice: File uploads are changing, y'all.
`connect.multipart()` will be removed in Express 4.0 / Connect 3.0.
We're working on it-- for now, the default multipart body parser is still included.
In the mean time, for alternatives and more info, check out:
-> https://gist.github.com/mikermcneil/8249181
-> https://github.com/senchalabs/connect/wiki/Connect-3.0
(to silence this warning, change `config/express.js`)
Error rendering view at :: /fortheon/source/views/hacks/recent
with layout located at :: /fortheon/source/views/layout
TypeError: /fortheon/source/views/hacks/recent.ejs:23
21|
Post a Hack
22|
Hacks
>> 23|
Profile
24|
Jobs
25|
Settings
26|
Signout
Cannot read property 'username' of undefined
at eval (eval at (/fortheon/source/node_modules/ejs/lib/ejs.js:236:14), :29:903)
at eval (eval at (/fortheon/source/node_modules/ejs/lib/ejs.js:236:14), :29:4437)
at /fortheon/source/node_modules/ejs/lib/ejs.js:249:15
at Object.exports.render (/fortheon/source/node_modules/ejs/lib/ejs.js:287:13)
at Object.exports.renderFile (/fortheon/source/node_modules/ejs/lib/ejs.js:317:20)
at module.exports [as engine] (/fortheon/source/node_modules/sails/node_modules/ejs-locals/index.js:85:7)
at View.render (/fortheon/source/node_modules/sails/node_modules/express/lib/view.js:76:8)
at Function.app.render (/fortheon/source/node_modules/sails/node_modules/express/lib/application.js:504:10)
at ServerResponse.res.render (/fortheon/source/node_modules/sails/node_modules/express/lib/response.js:801:7)
at ServerResponse._addResViewMethod.res.view (/fortheon/source/node_modules/sails/lib/hooks/views/res.view.js:162:14) TypeError: /fortheon/source/views/hacks/recent.ejs:23
21|
Post a Hack
22|
Hacks
>> 23|
Profile
24|
Jobs
25|
Settings
26|
Signout
Cannot read property 'username' of undefined
A server error occurred in a request:
TypeError: Cannot read property 'id' of undefined
at module.exports.destroy (/fortheon/source/api/controllers/SessionController.js:107:32)
at middlewareWrapper (/fortheon/source/node_modules/sails/lib/router/bind.js:155:4)
at callbacks (/fortheon/source/node_modules/sails/node_modules/express/lib/router/index.js:164:37)
at param (/fortheon/source/node_modules/sails/node_modules/express/lib/router/index.js:138:11)
at param (/fortheon/source/node_modules/sails/node_modules/express/lib/router/index.js:135:11)
at pass (/fortheon/source/node_modules/sails/node_modules/express/lib/router/index.js:145:5)
at nextRoute (/fortheon/source/node_modules/sails/node_modules/express/lib/router/index.js:100:7)
at callbacks (/fortheon/source/node_modules/sails/node_modules/express/lib/router/index.js:167:11)
at /fortheon/source/node_modules/sails/lib/router/bind.js:163:5
at module.exports (/fortheon/source/api/policies/flash.js:5:32) TypeError: Cannot read property 'id' of undefined
Error rendering view at :: /fortheon/source/views/hacks/recent
with layout located at :: /fortheon/source/views/layout
TypeError: /fortheon/source/views/hacks/recent.ejs:23
21|
Post a Hack
22|
Hacks
>> 23|
Profile
24|
Jobs
25|
Settings
26|
Signout
Cannot read property 'username' of undefined
at eval (eval at (/fortheon/source/node_modules/ejs/lib/ejs.js:236:14), :29:903)
at eval (eval at (/fortheon/source/node_modules/ejs/lib/ejs.js:236:14), :29:4437)
at /fortheon/source/node_modules/ejs/lib/ejs.js:249:15
at Object.exports.render (/fortheon/source/node_modules/ejs/lib/ejs.js:287:13)
at Object.exports.renderFile (/fortheon/source/node_modules/ejs/lib/ejs.js:317:20)
at module.exports [as engine] (/fortheon/source/node_modules/sails/node_modules/ejs-locals/index.js:85:7)
at View.render (/fortheon/source/node_modules/sails/node_modules/express/lib/view.js:76:8)
at Function.app.render (/fortheon/source/node_modules/sails/node_modules/express/lib/application.js:504:10)
at ServerResponse.res.render (/fortheon/source/node_modules/sails/node_modules/express/lib/response.js:801:7)
at ServerResponse._addResViewMethod.res.view (/fortheon/source/node_modules/sails/lib/hooks/views/res.view.js:162:14) TypeError: /fortheon/source/views/hacks/recent.ejs:23
21|
Post a Hack
22|
Hacks
>> 23|
Profile
24|
Jobs
25|
Settings
26|
Signout
Cannot read property 'username' of undefined
Error rendering view at :: /fortheon/source/views/hacks/recent
with layout located at :: /fortheon/source/views/layout
TypeError: /fortheon/source/views/hacks/recent.ejs:23
21|
Post a Hack
22|
Hacks
>> 23|
Profile
24|
Jobs
25|
Settings
26|
Signout
Cannot read property 'username' of undefined
at eval (eval at (/fortheon/source/node_modules/ejs/lib/ejs.js:236:14), :29:903)
at eval (eval at (/fortheon/source/node_modules/ejs/lib/ejs.js:236:14), :29:4437)
at /fortheon/source/node_modules/ejs/lib/ejs.js:249:15
at Object.exports.render (/fortheon/source/node_modules/ejs/lib/ejs.js:287:13)
at Object.exports.renderFile (/fortheon/source/node_modules/ejs/lib/ejs.js:317:20)
at module.exports [as engine] (/fortheon/source/node_modules/sails/node_modules/ejs-locals/index.js:85:7)
at View.render (/fortheon/source/node_modules/sails/node_modules/express/lib/view.js:76:8)
at Function.app.render (/fortheon/source/node_modules/sails/node_modules/express/lib/application.js:504:10)
at ServerResponse.res.render (/fortheon/source/node_modules/sails/node_modules/express/lib/response.js:801:7)
at ServerResponse._addResViewMethod.res.view (/fortheon/source/node_modules/sails/lib/hooks/views/res.view.js:162:14) TypeError: /fortheon/source/views/hacks/recent.ejs:23
21|
Post a Hack
22|
Hacks
>> 23|
Profile
24|
Jobs
25|
Settings
26|
Signout
Cannot read property 'username' of undefined
A server error occurred in a request:
TypeError: Cannot read property 'id' of undefined
at module.exports.following (/fortheon/source/api/controllers/HacksController.js:260:44)
at middlewareWrapper (/fortheon/source/node_modules/sails/lib/router/bind.js:155:4)
at callbacks (/fortheon/source/node_modules/sails/node_modules/express/lib/router/index.js:164:37)
at param (/fortheon/source/node_modules/sails/node_modules/express/lib/router/index.js:138:11)
at param (/fortheon/source/node_modules/sails/node_modules/express/lib/router/index.js:135:11)
at pass (/fortheon/source/node_modules/sails/node_modules/express/lib/router/index.js:145:5)
at nextRoute (/fortheon/source/node_modules/sails/node_modules/express/lib/router/index.js:100:7)
at callbacks (/fortheon/source/node_modules/sails/node_modules/express/lib/router/index.js:167:11)
at /fortheon/source/node_modules/sails/lib/router/bind.js:163:5
at module.exports (/fortheon/source/api/policies/flash.js:5:32) TypeError: Cannot read property 'id' of undefined
A server error occurred in a request:
TypeError: Cannot read property 'id' of undefined
at module.exports.following (/fortheon/source/api/controllers/HacksController.js:260:44)
at middlewareWrapper (/fortheon/source/node_modules/sails/lib/router/bind.js:155:4)
at callbacks (/fortheon/source/node_modules/sails/node_modules/express/lib/router/index.js:164:37)
at param (/fortheon/source/node_modules/sails/node_modules/express/lib/router/index.js:138:11)
at param (/fortheon/source/node_modules/sails/node_modules/express/lib/router/index.js:135:11)
at pass (/fortheon/source/node_modules/sails/node_modules/express/lib/router/index.js:145:5)
at nextRoute (/fortheon/source/node_modules/sails/node_modules/express/lib/router/index.js:100:7)
at callbacks (/fortheon/source/node_modules/sails/node_modules/express/lib/router/index.js:167:11)
at /fortheon/source/node_modules/sails/lib/router/bind.js:163:5
at module.exports (/fortheon/source/api/policies/flash.js:5:32) TypeError: Cannot read property 'id' of undefined
A server error occurred in a request:
TypeError: Cannot read property 'id' of undefined
at module.exports.following (/fortheon/source/api/controllers/HacksController.js:260:44)
at middlewareWrapper (/fortheon/source/node_modules/sails/lib/router/bind.js:155:4)
at callbacks (/fortheon/source/node_modules/sails/node_modules/express/lib/router/index.js:164:37)
at param (/fortheon/source/node_modules/sails/node_modules/express/lib/router/index.js:138:11)
at param (/fortheon/source/node_modules/sails/node_modules/express/lib/router/index.js:135:11)
at pass (/fortheon/source/node_modules/sails/node_modules/express/lib/router/index.js:145:5)
at nextRoute (/fortheon/source/node_modules/sails/node_modules/express/lib/router/index.js:100:7)
at callbacks (/fortheon/source/node_modules/sails/node_modules/express/lib/router/index.js:167:11)
at /fortheon/source/node_modules/sails/lib/router/bind.js:163:5
at module.exports (/fortheon/source/api/policies/flash.js:5:32) TypeError: Cannot read property 'id' of undefined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment