{"action":"created","issue":{"url":"https://api.github.com/repos/sararob/video-intelligence-demo/issues/19","repository_url":"https://api.github.com/repos/sararob/video-intelligence-demo","labels_url":"https://api.github.com/repos/sararob/video-intelligence-demo/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/sararob/video-intelligence-demo/issues/19/comments","events_url":"https://api.github.com/repos/sararob/video-intelligence-demo/issues/19/events","html_url":"https://github.com/sararob/video-intelligence-demo/issues/19","id":225950975,"node_id":"MDU6SXNzdWUyMjU5NTA5NzU=","number":19,"title":" TypeError: Cannot read property '0' of undefined      at Request._callback (/app/app.js:117:55) ","user":{"login":"onofrioP89","id":8619902,"node_id":"MDQ6VXNlcjg2MTk5MDI=","avatar_url":"https://avatars2.githubusercontent.com/u/8619902?v=4","gravatar_id":"","url":"https://api.github.com/users/onofrioP89","html_url":"https://github.com/onofrioP89","followers_url":"https://api.github.com/users/onofrioP89/followers","following_url":"https://api.github.com/users/onofrioP89/following{/other_user}","gists_url":"https://api.github.com/users/onofrioP89/gists{/gist_id}","starred_url":"https://api.github.com/users/onofrioP89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onofrioP89/subscriptions","organizations_url":"https://api.github.com/users/onofrioP89/orgs","repos_url":"https://api.github.com/users/onofrioP89/repos","events_url":"https://api.github.com/users/onofrioP89/events{/privacy}","received_events_url":"https://api.github.com/users/onofrioP89/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-05-03T11:06:47Z","updated_at":"2018-07-25T13:39:36Z","closed_at":null,"author_association":"NONE","body":"Hello, I have deployed the app on GAE and Cloud Function, but I have a problem when app is started.\r\nThis is a stacktrace of the command \r\n\r\ngcloud app logs tail -s default\r\n\r\n```\r\n2017-05-03 11:02:07 default[20170503t125523]  GET /_ah/health 200 2.579 ms - 1004\r\n2017-05-03 11:02:07 default[20170503t125523]  GET /_ah/health 200 0.507 ms - 1004\r\n2017-05-03 11:02:07 default[20170503t125523]  { kind: 'storage#object',\r\n2017-05-03 11:02:07 default[20170503t125523]    id: 'video-intelligence-json/google-home-superbowlmp4.json/1493804433756714',\r\n2017-05-03 11:02:07 default[20170503t125523]    selfLink: 'https://www.googleapis.com/storage/v1/b/video-intelligence-json/o/google-home-superbowlmp4.json',\r\n2017-05-03 11:02:07 default[20170503t125523]    name: 'google-home-superbowlmp4.json',\r\n2017-05-03 11:02:07 default[20170503t125523]    bucket: 'video-intelligence-json',\r\n2017-05-03 11:02:07 default[20170503t125523]    generation: '1493804433756714',\r\n2017-05-03 11:02:07 default[20170503t125523]    metageneration: '1',\r\n2017-05-03 11:02:07 default[20170503t125523]    contentType: 'application/json',\r\n2017-05-03 11:02:07 default[20170503t125523]    timeCreated: '2017-05-03T09:40:33.601Z',\r\n2017-05-03 11:02:07 default[20170503t125523]    updated: '2017-05-03T09:40:33.601Z',\r\n2017-05-03 11:02:07 default[20170503t125523]    storageClass: 'MULTI_REGIONAL',\r\n2017-05-03 11:02:07 default[20170503t125523]    timeStorageClassUpdated: '2017-05-03T09:40:33.601Z',\r\n2017-05-03 11:02:07 default[20170503t125523]    size: '40178',\r\n2017-05-03 11:02:07 default[20170503t125523]    md5Hash: 'O15kbUixMKzQM41DOAhG/A==',\r\n2017-05-03 11:02:07 default[20170503t125523]    mediaLink: 'https://www.googleapis.com/download/storage/v1/b/video-intelligence-json/o/google-home-superbowlmp4.json?generation=1493804433756714&alt=media',\r\n2017-05-03 11:02:07 default[20170503t125523]    crc32c: 'D1ouWQ==',\r\n2017-05-03 11:02:07 default[20170503t125523]    etag: 'CKqkjZW309MCEAE=' }\r\n2017-05-03 11:02:08 default[20170503t125523]  /app/app.js:117\r\n2017-05-03 11:02:08 default[20170503t125523]                    annotations: body.annotation_results[0]\r\n2017-05-03 11:02:08 default[20170503t125523]                                                        ^\r\n2017-05-03 11:02:08 default[20170503t125523]\r\n2017-05-03 11:02:08 default[20170503t125523]  TypeError: Cannot read property '0' of undefined      at Request._callback (/app/app.js:117:55)      at Request.self.callback (/app/node_modules/request/request.js:188:22)      at emitTwo (events.js:106:13)      at Request.emit (events.js:191:7)      at Request.<anonymous> (/app/node_modules/request/request.js:1171:10)      at emitOne (events.js:96:13)      at Request.emit (events.js:188:7)      at IncomingMessage.<anonymous> (/app/node_modules/request/request.js:1091:12)      at IncomingMessage.g (events.js:291:16)      at emitNone (events.js:91:20)\r\n2017-05-03 11:02:08 default[20170503t125523]\r\n2017-05-03 11:02:08 default[20170503t125523]  npm ERR! Linux 3.16.0-4-amd64\r\n2017-05-03 11:02:08 default[20170503t125523]  npm ERR! argv \"/nodejs/bin/node\" \"/nodejs/bin/npm\" \"start\"\r\n2017-05-03 11:02:08 default[20170503t125523]  npm ERR! node v6.10.2\r\n2017-05-03 11:02:08 default[20170503t125523]  npm ERR! npm  v3.10.10\r\n2017-05-03 11:02:08 default[20170503t125523]  npm ERR! code ELIFECYCLE\r\n2017-05-03 11:02:08 default[20170503t125523]  npm ERR! appengine-express@0.0.1 start: `node ./bin/www`\r\n2017-05-03 11:02:08 default[20170503t125523]  npm ERR! Exit status 1\r\n2017-05-03 11:02:08 default[20170503t125523]  npm ERR!\r\n2017-05-03 11:02:08 default[20170503t125523]  npm ERR! Failed at the appengine-express@0.0.1 start script 'node ./bin/www'.\r\n2017-05-03 11:02:08 default[20170503t125523]  npm ERR! Make sure you have the latest version of node.js and npm installed.\r\n2017-05-03 11:02:08 default[20170503t125523]  npm ERR! If you do, this is most likely a problem with the appengine-express package,\r\n2017-05-03 11:02:08 default[20170503t125523]  npm ERR! not with npm itself.\r\n2017-05-03 11:02:08 default[20170503t125523]  npm ERR! Tell the author that this fails on your system:\r\n2017-05-03 11:02:08 default[20170503t125523]  npm ERR!     node ./bin/www\r\n2017-05-03 11:02:08 default[20170503t125523]  npm ERR! You can get information on how to open an issue for this project with:\r\n2017-05-03 11:02:08 default[20170503t125523]  npm ERR!     npm bugs appengine-express\r\n2017-05-03 11:02:08 default[20170503t125523]  npm ERR! Or if that isn't available, you can get their info via:\r\n2017-05-03 11:02:08 default[20170503t125523]  npm ERR!     npm owner ls appengine-express\r\n2017-05-03 11:02:08 default[20170503t125523]  npm ERR! There is likely additional logging output above.\r\n2017-05-03 11:02:08 default[20170503t125523]\r\n2017-05-03 11:02:08 default[20170503t125523]  npm ERR! Please include the following file with any support request:\r\n2017-05-03 11:02:08 default[20170503t125523]  npm ERR!     /app/npm-debug.log\r\n\r\nAny feedback are appreciated!\r\nThanks\r\nOnofrio\r\n```"},"comment":{"url":"https://api.github.com/repos/sararob/video-intelligence-demo/issues/comments/407757376","html_url":"https://github.com/sararob/video-intelligence-demo/issues/19#issuecomment-407757376","issue_url":"https://api.github.com/repos/sararob/video-intelligence-demo/issues/19","id":407757376,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzc1NzM3Ng==","user":{"login":"onofrioP89","id":8619902,"node_id":"MDQ6VXNlcjg2MTk5MDI=","avatar_url":"https://avatars2.githubusercontent.com/u/8619902?v=4","gravatar_id":"","url":"https://api.github.com/users/onofrioP89","html_url":"https://github.com/onofrioP89","followers_url":"https://api.github.com/users/onofrioP89/followers","following_url":"https://api.github.com/users/onofrioP89/following{/other_user}","gists_url":"https://api.github.com/users/onofrioP89/gists{/gist_id}","starred_url":"https://api.github.com/users/onofrioP89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onofrioP89/subscriptions","organizations_url":"https://api.github.com/users/onofrioP89/orgs","repos_url":"https://api.github.com/users/onofrioP89/repos","events_url":"https://api.github.com/users/onofrioP89/events{/privacy}","received_events_url":"https://api.github.com/users/onofrioP89/received_events","type":"User","site_admin":false},"created_at":"2018-07-25T13:39:36Z","updated_at":"2018-07-25T13:39:36Z","author_association":"NONE","body":"@shoreshgithub the fix of the problem was writed by @sararob \r\nhttps://github.com/sararob/video-intelligence-demo/issues/19#issuecomment-303756394\r\n\r\nI had another error, described here, but now I'm not working on the fix."}}
{"actor":{"display_login":"onofrioP89"}}