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
I have gone back and read your Hypermedia book (and two other newer ones). I am appreciative of your work. Thank you.
FYI, I have tried to run your code here and run into error. Not sure if it is node/npm/ejs version issue or something else...just letting you know. I realize this is old code but passing along the information anyways.
~/projects/Building-Hypermedia-APIs/nodejs/maze$ node app.js Express server listening on port 3000 scope` option is deprecated and will be removed in EJS 3
/home/rafs/projects/Building-Hypermedia-APIs/nodejs/maze/app.js:90
tot = Object.keys(doc.cells).length;
^
TypeError: Cannot read property 'cells' of undefined
at Vargs.callback (/home/rafs/projects/Building-Hypermedia-APIs/nodejs/maze/app.js:90:26)
at /home/rafs/projects/Building-Hypermedia-APIs/nodejs/maze/node_modules/cradle/lib/cradle/database/documents.js:45:18
at Request._onResponse [as _callback] (/home/rafs/projects/Building-Hypermedia-APIs/nodejs/maze/node_modules/cradle/lib/cradle.js:215:20)
at self.callback (/home/rafs/projects/Building-Hypermedia-APIs/nodejs/maze/node_modules/request/request.js:185:22)
at emitOne (events.js:115:13)
at Request.emit (events.js:210:7)
at Request.onRequestError (/home/rafs/projects/Building-Hypermedia-APIs/nodejs/maze/node_modules/request/request.js:877:8)
at emitOne (events.js:115:13)
at ClientRequest.emit (events.js:210:7)
at Socket.socketErrorListener (_http_client.js:401:9)
`
Regards,
Rafs
The text was updated successfully, but these errors were encountered:
Hi Mike,
I have gone back and read your Hypermedia book (and two other newer ones). I am appreciative of your work. Thank you.
FYI, I have tried to run your code here and run into error. Not sure if it is node/npm/ejs version issue or something else...just letting you know. I realize this is old code but passing along the information anyways.
~/projects/Building-Hypermedia-APIs/nodejs/maze$ node app.js Express server listening on port 3000
scope` option is deprecated and will be removed in EJS 3/home/rafs/projects/Building-Hypermedia-APIs/nodejs/maze/app.js:90
tot = Object.keys(doc.cells).length;
^
TypeError: Cannot read property 'cells' of undefined
at Vargs.callback (/home/rafs/projects/Building-Hypermedia-APIs/nodejs/maze/app.js:90:26)
at /home/rafs/projects/Building-Hypermedia-APIs/nodejs/maze/node_modules/cradle/lib/cradle/database/documents.js:45:18
at Request._onResponse [as _callback] (/home/rafs/projects/Building-Hypermedia-APIs/nodejs/maze/node_modules/cradle/lib/cradle.js:215:20)
at self.callback (/home/rafs/projects/Building-Hypermedia-APIs/nodejs/maze/node_modules/request/request.js:185:22)
at emitOne (events.js:115:13)
at Request.emit (events.js:210:7)
at Request.onRequestError (/home/rafs/projects/Building-Hypermedia-APIs/nodejs/maze/node_modules/request/request.js:877:8)
at emitOne (events.js:115:13)
at ClientRequest.emit (events.js:210:7)
at Socket.socketErrorListener (_http_client.js:401:9)
`
Regards,
Rafs
The text was updated successfully, but these errors were encountered: