{"action":"created","issue":{"url":"https://api.github.com/repos/brianc/node-postgres/issues/1029","repository_url":"https://api.github.com/repos/brianc/node-postgres","labels_url":"https://api.github.com/repos/brianc/node-postgres/issues/1029/labels{/name}","comments_url":"https://api.github.com/repos/brianc/node-postgres/issues/1029/comments","events_url":"https://api.github.com/repos/brianc/node-postgres/issues/1029/events","html_url":"https://github.com/brianc/node-postgres/issues/1029","id":156392766,"number":1029,"title":"Node V6 Incompatibility?","user":{"login":"StretchKids","id":6139842,"avatar_url":"https://avatars.githubusercontent.com/u/6139842?v=3","gravatar_id":"","url":"https://api.github.com/users/StretchKids","html_url":"https://github.com/StretchKids","followers_url":"https://api.github.com/users/StretchKids/followers","following_url":"https://api.github.com/users/StretchKids/following{/other_user}","gists_url":"https://api.github.com/users/StretchKids/gists{/gist_id}","starred_url":"https://api.github.com/users/StretchKids/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StretchKids/subscriptions","organizations_url":"https://api.github.com/users/StretchKids/orgs","repos_url":"https://api.github.com/users/StretchKids/repos","events_url":"https://api.github.com/users/StretchKids/events{/privacy}","received_events_url":"https://api.github.com/users/StretchKids/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-05-24T00:03:43Z","updated_at":"2016-06-16T03:40:09Z","closed_at":null,"body":"I tried building our environment with Node V6.2. We had been using Node V5.7 but since have tested with Node V5.9.1. The app has been developed under Windows 10 and deployed under Ubuntu 15.10 moving to 16.04 LTS.\r\n\r\nUnder Node V6 we hit 3 problems:\r\n\r\n1) Postgres 9.4 and 9.5.3 returned password authentication failure\r\n2) PM2  1.0.2 would not return after starting a process\r\n3) When trying to debug under Webstorm 16.1.2 on Windows, the it failed with a \"ReferenceError: v8debug is not defined\".\r\n\r\nAll the problems disappeared when reverting to Node v5.9.1\r\n\r\nThe Webstorm problem is still outstanding with a workaround  adding --expose-debug-as=v8debug  to \"Node parameters\" buried on their issues database.\r\n\r\nPM2 has a fix in 1.1.3 (not in Ubuntu package repository at this time) labeled \"node v6 compat\" that consists of removing a call to **hasOwnProperty** in a wrapper around a cloning function.\r\n\r\nIs this a known node-postgres to Node v6 compatibility issue? \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/brianc/node-postgres/issues/comments/226380655","html_url":"https://github.com/brianc/node-postgres/issues/1029#issuecomment-226380655","issue_url":"https://api.github.com/repos/brianc/node-postgres/issues/1029","id":226380655,"user":{"login":"brianc","id":50081,"avatar_url":"https://avatars.githubusercontent.com/u/50081?v=3","gravatar_id":"","url":"https://api.github.com/users/brianc","html_url":"https://github.com/brianc","followers_url":"https://api.github.com/users/brianc/followers","following_url":"https://api.github.com/users/brianc/following{/other_user}","gists_url":"https://api.github.com/users/brianc/gists{/gist_id}","starred_url":"https://api.github.com/users/brianc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianc/subscriptions","organizations_url":"https://api.github.com/users/brianc/orgs","repos_url":"https://api.github.com/users/brianc/repos","events_url":"https://api.github.com/users/brianc/events{/privacy}","received_events_url":"https://api.github.com/users/brianc/received_events","type":"User","site_admin":false},"created_at":"2016-06-16T03:40:08Z","updated_at":"2016-06-16T03:40:08Z","body":"Weird - I don't have to do that. I just have 6.2 and i do `npm i pg` and it\n\"just works\" - are you doing something fancy w/ pg that would require\nexposing dbug?\n\nOn Wed, Jun 15, 2016 at 10:38 PM, Jason Tiscione <notifications@github.com>\nwrote:\n\n> I figured it out- the correct node option to use (on node 6.2.0) is:\n> --expose-debug-as=v8debug\n>\n> —\n> You are receiving this because you commented.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/brianc/node-postgres/issues/1029#issuecomment-226380476>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe/AADDoXCQlm2R4DoyT7atlNvJyRDGCdYRks5qMMUrgaJpZM4Ik_W4>\n> .\n>\n"}}
{"actor":{"display_login":"brianc"}}