{"action":"opened","issue":{"url":"https://api.github.com/repos/npm/npm/issues/12616","repository_url":"https://api.github.com/repos/npm/npm","labels_url":"https://api.github.com/repos/npm/npm/issues/12616/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/12616/comments","events_url":"https://api.github.com/repos/npm/npm/issues/12616/events","html_url":"https://github.com/npm/npm/issues/12616","id":153566619,"number":12616,"title":"\"npm install\" fails with \"node: bad option: --harmony_destructuring\"","user":{"login":"mkoloberdin","id":123562,"avatar_url":"https://avatars.githubusercontent.com/u/123562?v=3","gravatar_id":"","url":"https://api.github.com/users/mkoloberdin","html_url":"https://github.com/mkoloberdin","followers_url":"https://api.github.com/users/mkoloberdin/followers","following_url":"https://api.github.com/users/mkoloberdin/following{/other_user}","gists_url":"https://api.github.com/users/mkoloberdin/gists{/gist_id}","starred_url":"https://api.github.com/users/mkoloberdin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkoloberdin/subscriptions","organizations_url":"https://api.github.com/users/mkoloberdin/orgs","repos_url":"https://api.github.com/users/mkoloberdin/repos","events_url":"https://api.github.com/users/mkoloberdin/events{/privacy}","received_events_url":"https://api.github.com/users/mkoloberdin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-07T01:52:37Z","updated_at":"2016-05-07T01:52:37Z","closed_at":null,"body":"npm install -g purescript\r\n\r\nresults in:\r\n\r\n/usr/bin/psc -> /usr/lib/node_modules/purescript/bin/psc.js\r\n/usr/bin/psc-bundle -> /usr/lib/node_modules/purescript/bin/psc-bundle.js\r\n/usr/bin/psc-docs -> /usr/lib/node_modules/purescript/bin/psc-docs.js\r\n/usr/bin/psci -> /usr/lib/node_modules/purescript/bin/psci.js\r\n/usr/bin/psc-ide-client -> /usr/lib/node_modules/purescript/bin/psc-ide-client.js\r\n/usr/bin/psc-ide-server -> /usr/lib/node_modules/purescript/bin/psc-ide-server.js\r\n/usr/bin/psc-publish -> /usr/lib/node_modules/purescript/bin/psc-publish.js\r\n\r\n\\> purescript@0.8.5 postinstall /usr/lib/node_modules/purescript\r\n\\> node --harmony_destructuring lib/install.js\r\n\r\n**node: bad option: --harmony_destructuring**\r\nnpm ERR! Linux 4.5.1-1-ARCH\r\nnpm ERR! argv \"/usr/bin/node\" \"/usr/bin/npm\" \"install\" \"-g\" \"purescript\"\r\nnpm ERR! node v6.1.0\r\nnpm ERR! npm  v3.8.9\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! purescript@0.8.5 postinstall: `node --harmony_destructuring lib/install.js`\r\nnpm ERR! Exit status 9\r\nnpm ERR! \r\nnpm ERR! Failed at the purescript@0.8.5 postinstall script 'node --harmony_destructuring lib/install.js'.\r\nnpm ERR! Make sure you have the latest version of node.js and npm installed.\r\nnpm ERR! If you do, this is most likely a problem with the purescript package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node --harmony_destructuring lib/install.js\r\n"}}