{"action":"created","issue":{"url":"https://api.github.com/repos/joshiggins/node-waitpid2/issues/1","repository_url":"https://api.github.com/repos/joshiggins/node-waitpid2","labels_url":"https://api.github.com/repos/joshiggins/node-waitpid2/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/joshiggins/node-waitpid2/issues/1/comments","events_url":"https://api.github.com/repos/joshiggins/node-waitpid2/issues/1/events","html_url":"https://github.com/joshiggins/node-waitpid2/pull/1","id":338636792,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5NTE4NDE4","number":1,"title":"npm package module version conflict; two scripts clauses","user":{"login":"bryanlarsen","id":32073,"node_id":"MDQ6VXNlcjMyMDcz","avatar_url":"https://avatars2.githubusercontent.com/u/32073?v=4","gravatar_id":"","url":"https://api.github.com/users/bryanlarsen","html_url":"https://github.com/bryanlarsen","followers_url":"https://api.github.com/users/bryanlarsen/followers","following_url":"https://api.github.com/users/bryanlarsen/following{/other_user}","gists_url":"https://api.github.com/users/bryanlarsen/gists{/gist_id}","starred_url":"https://api.github.com/users/bryanlarsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryanlarsen/subscriptions","organizations_url":"https://api.github.com/users/bryanlarsen/orgs","repos_url":"https://api.github.com/users/bryanlarsen/repos","events_url":"https://api.github.com/users/bryanlarsen/events{/privacy}","received_events_url":"https://api.github.com/users/bryanlarsen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-05T16:05:21Z","updated_at":"2018-07-05T17:39:59Z","closed_at":"2018-07-05T17:38:45Z","author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/joshiggins/node-waitpid2/pulls/1","html_url":"https://github.com/joshiggins/node-waitpid2/pull/1","diff_url":"https://github.com/joshiggins/node-waitpid2/pull/1.diff","patch_url":"https://github.com/joshiggins/node-waitpid2/pull/1.patch"},"body":"The npm package is broken, and gives the error \r\n\r\n\"Error: The module '/srv/clara/current/hub/node_modules/waitpid2/lib/binding/waitpid.node'\r\nwas compiled against a different Node.js version using\r\nNODE_MODULE_VERSION 48. This version of Node.js requires\r\nNODE_MODULE_VERSION 57. Please try re-compiling or re-installing\r\n\"\r\n\r\nWe can fix this by either going `yarn run install --update-binary` in node_modules/waitpid2, or by installing from source by using `\"waitpid2\": \"git://github.com/joshiggins/node-waitpid2.git#2270e88\"` in our package.json\r\n\r\nI have no idea why your npm binary is broken.   But having two \"scripts\" sections in your package.json is an obvious issue and may or may not be related.   I'm not sure which is the right one."},"comment":{"url":"https://api.github.com/repos/joshiggins/node-waitpid2/issues/comments/402799536","html_url":"https://github.com/joshiggins/node-waitpid2/pull/1#issuecomment-402799536","issue_url":"https://api.github.com/repos/joshiggins/node-waitpid2/issues/1","id":402799536,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjc5OTUzNg==","user":{"login":"joshiggins","id":5124298,"node_id":"MDQ6VXNlcjUxMjQyOTg=","avatar_url":"https://avatars3.githubusercontent.com/u/5124298?v=4","gravatar_id":"","url":"https://api.github.com/users/joshiggins","html_url":"https://github.com/joshiggins","followers_url":"https://api.github.com/users/joshiggins/followers","following_url":"https://api.github.com/users/joshiggins/following{/other_user}","gists_url":"https://api.github.com/users/joshiggins/gists{/gist_id}","starred_url":"https://api.github.com/users/joshiggins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshiggins/subscriptions","organizations_url":"https://api.github.com/users/joshiggins/orgs","repos_url":"https://api.github.com/users/joshiggins/repos","events_url":"https://api.github.com/users/joshiggins/events{/privacy}","received_events_url":"https://api.github.com/users/joshiggins/received_events","type":"User","site_admin":false},"created_at":"2018-07-05T17:39:59Z","updated_at":"2018-07-05T17:39:59Z","author_association":"OWNER","body":"Thanks for the pull request :+1: \r\n\r\nI do not think this affects behaviour - it was defined twice but the second definition seems to take precedent.\r\n\r\nDuplicate keys in JSON is not technically invalid, but depends how you deserialise it.\r\n\r\nIn any case, it is better to be explicit which script is correct."}}
{"actor":{"display_login":"joshiggins"}}