{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/9140","repository_url":"https://api.github.com/repos/nodejs/node","labels_url":"https://api.github.com/repos/nodejs/node/issues/9140/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/9140/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/9140/events","html_url":"https://github.com/nodejs/node/issues/9140","id":183528526,"number":9140,"title":"TypeError: Cannot call method 'forEach' of undefined","user":{"login":"matissse","id":19806671,"avatar_url":"https://avatars.githubusercontent.com/u/19806671?v=3","gravatar_id":"","url":"https://api.github.com/users/matissse","html_url":"https://github.com/matissse","followers_url":"https://api.github.com/users/matissse/followers","following_url":"https://api.github.com/users/matissse/following{/other_user}","gists_url":"https://api.github.com/users/matissse/gists{/gist_id}","starred_url":"https://api.github.com/users/matissse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matissse/subscriptions","organizations_url":"https://api.github.com/users/matissse/orgs","repos_url":"https://api.github.com/users/matissse/repos","events_url":"https://api.github.com/users/matissse/events{/privacy}","received_events_url":"https://api.github.com/users/matissse/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-17T21:10:03Z","updated_at":"2016-10-17T21:52:20Z","closed_at":"2016-10-17T21:13:48Z","body":"<!--\r\nThank you for reporting an issue.\r\nPlease fill in as much of the template below as you're able.\r\n\r\nVersion: output of `node -v`\r\nPlatform: Linux CentOS-68-64-minimal 2.6.32-642.6.1.el6.x86_64 #1 SMP Wed Oct 5 00:36:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux\r\nSubsystem: if known, please specify affected core module name\r\n\r\nIf possible, please provide code that demonstrates the problem, keeping it as\r\nsimple and free of external dependencies as you are able.\r\n-->\r\n\r\n* **Version**: 0.10.42\r\n* **Platform**: Linux CentOS-68-64-minimal 2.6.32-642.6.1.el6.x86_64 #1 SMP Wed Oct 5 00:36:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux\r\n* **Subsystem**:\r\n\r\n<!-- Enter your issue details below this comment. -->\r\nHello, i tried to start node but got error:\r\n```\r\n/var/www/html/calendar/node_modules/jugglingdb-postgres/lib/postgres.js:419\r\n        data.forEach(function(field){\r\n             ^\r\nTypeError: Cannot call method 'forEach' of undefined\r\n    at decoratedCallback (/var/www/html/calendar/node_modules/jugglingdb-postgres/lib/postgres.js:419:14)\r\n    at /var/www/html/calendar/node_modules/jugglingdb-postgres/lib/postgres.js:64:20\r\n    at /var/www/html/calendar/node_modules/jugglingdb-postgres/node_modules/pg/lib/pool.js:75:25\r\n    at /var/www/html/calendar/node_modules/jugglingdb-postgres/node_modules/generic-pool/lib/generic-pool.js:274:11\r\n    at /var/www/html/calendar/node_modules/jugglingdb-postgres/node_modules/pg/lib/pool.js:27:26\r\n    at null.<anonymous> (/var/www/html/calendar/node_modules/jugglingdb-postgres/node_modules/pg/lib/client.js:181:5)\r\n    at emit (events.js:95:17)\r\n    at Socket.<anonymous> (/var/www/html/calendar/node_modules/jugglingdb-postgres/node_modules/pg/lib/connection.js:109:12)\r\n    at Socket.emit (events.js:95:17)\r\n    at Socket.<anonymous> (_stream_readable.js:765:14)\r\n    at Socket.emit (events.js:92:17)\r\n    at emitReadable_ (_stream_readable.js:427:10)\r\n    at emitReadable (_stream_readable.js:423:5)\r\n    at readableAddChunk (_stream_readable.js:166:9)\r\n    at Socket.Readable.push (_stream_readable.js:128:10)\r\n    at TCP.onread (net.js:529:21)\r\n```\r\nI think trouble to connect database?\r\n```\r\n\"store\": {\r\n      // You won't want to use the memory store in production, or your install\r\n      // registrations will be forgotten any time your app restarts.  Here\r\n      // we tell atlassian-connect-express to use the PostgreSQL backend for the default\r\n      // JugglingDB adapter.\r\n      \"type\": \"postgres\",\r\n      // Again, a PaaS host like Heroku will probably provide the db connection\r\n      // URL to you through the environment, so we tell atlassian-connect-express to use that value.\r\n      \"url\": \"postgres://localhost:5432/nodejs_calendar\"\r\n    },\r\n```\r\nI use node version 0.10.42 on Centos 6 64bit. \r\n`Linux CentOS-68-64-minimal 2.6.32-642.6.1.el6.x86_64 #1 SMP Wed Oct 5 00:36:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux`\r\nAnd when i do npm install i haven't got any errors. \r\nThanks!"},"comment":{"url":"https://api.github.com/repos/nodejs/node/issues/comments/254345583","html_url":"https://github.com/nodejs/node/issues/9140#issuecomment-254345583","issue_url":"https://api.github.com/repos/nodejs/node/issues/9140","id":254345583,"user":{"login":"matissse","id":19806671,"avatar_url":"https://avatars.githubusercontent.com/u/19806671?v=3","gravatar_id":"","url":"https://api.github.com/users/matissse","html_url":"https://github.com/matissse","followers_url":"https://api.github.com/users/matissse/followers","following_url":"https://api.github.com/users/matissse/following{/other_user}","gists_url":"https://api.github.com/users/matissse/gists{/gist_id}","starred_url":"https://api.github.com/users/matissse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matissse/subscriptions","organizations_url":"https://api.github.com/users/matissse/orgs","repos_url":"https://api.github.com/users/matissse/repos","events_url":"https://api.github.com/users/matissse/events{/privacy}","received_events_url":"https://api.github.com/users/matissse/received_events","type":"User","site_admin":false},"created_at":"2016-10-17T21:52:20Z","updated_at":"2016-10-17T21:52:20Z","body":"Sorry, thanks."}}
{"actor":{"display_login":"matissse"}}