{"action":"created","issue":{"url":"https://api.github.com/repos/zeit/now-cli/issues/651","repository_url":"https://api.github.com/repos/zeit/now-cli","labels_url":"https://api.github.com/repos/zeit/now-cli/issues/651/labels{/name}","comments_url":"https://api.github.com/repos/zeit/now-cli/issues/651/comments","events_url":"https://api.github.com/repos/zeit/now-cli/issues/651/events","html_url":"https://github.com/zeit/now-cli/issues/651","id":234535138,"number":651,"title":"Cant install","user":{"login":"knipferrc","id":5757096,"avatar_url":"https://avatars1.githubusercontent.com/u/5757096?v=3","gravatar_id":"","url":"https://api.github.com/users/knipferrc","html_url":"https://github.com/knipferrc","followers_url":"https://api.github.com/users/knipferrc/followers","following_url":"https://api.github.com/users/knipferrc/following{/other_user}","gists_url":"https://api.github.com/users/knipferrc/gists{/gist_id}","starred_url":"https://api.github.com/users/knipferrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knipferrc/subscriptions","organizations_url":"https://api.github.com/users/knipferrc/orgs","repos_url":"https://api.github.com/users/knipferrc/repos","events_url":"https://api.github.com/users/knipferrc/events{/privacy}","received_events_url":"https://api.github.com/users/knipferrc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2017-06-08T13:53:27Z","updated_at":"2017-06-13T05:02:35Z","closed_at":"2017-06-12T14:11:43Z","body":"```/usr/local/bin/now -> /usr/local/lib/node_modules/now/download/dist/now\r\n\r\n> now@6.3.1 postinstall /usr/local/lib/node_modules/now\r\n> node download/install.js\r\n\r\nfs.js:651\r\n  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);\r\n                 ^\r\n\r\nError: EACCES: permission denied, open '/usr/local/lib/node_modules/now/download/dist/download.js'\r\n    at Object.fs.openSync (fs.js:651:18)\r\n    at Object.<anonymous> (/usr/local/lib/node_modules/now/download/install.js:19:6)\r\n    at Module._compile (module.js:569:30)\r\n    at Object.Module._extensions..js (module.js:580:10)\r\n    at Module.load (module.js:503:32)\r\n    at tryModuleLoad (module.js:466:12)\r\n    at Function.Module._load (module.js:458:3)\r\n    at Function.Module.runMain (module.js:605:10)\r\n    at startup (bootstrap_node.js:158:16)\r\n    at bootstrap_node.js:575:3\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno 1\r\nnpm ERR! now@6.3.1 postinstall: `node download/install.js`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the now@6.3.1 postinstall script.\r\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\r\n\r\nnpm ERR! A complete log of this run can be found in:\r\nnpm ERR!     /Users/tknipfer/.npm/_logs/2017-06-08T13_51_56_474Z-debug.log```\r\n\r\nI keep getting this error when trying to install. Any idea? Im using node 8.1"},"comment":{"url":"https://api.github.com/repos/zeit/now-cli/issues/comments/308007482","html_url":"https://github.com/zeit/now-cli/issues/651#issuecomment-308007482","issue_url":"https://api.github.com/repos/zeit/now-cli/issues/651","id":308007482,"user":{"login":"Stas-Buzunko","id":12331100,"avatar_url":"https://avatars1.githubusercontent.com/u/12331100?v=3","gravatar_id":"","url":"https://api.github.com/users/Stas-Buzunko","html_url":"https://github.com/Stas-Buzunko","followers_url":"https://api.github.com/users/Stas-Buzunko/followers","following_url":"https://api.github.com/users/Stas-Buzunko/following{/other_user}","gists_url":"https://api.github.com/users/Stas-Buzunko/gists{/gist_id}","starred_url":"https://api.github.com/users/Stas-Buzunko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stas-Buzunko/subscriptions","organizations_url":"https://api.github.com/users/Stas-Buzunko/orgs","repos_url":"https://api.github.com/users/Stas-Buzunko/repos","events_url":"https://api.github.com/users/Stas-Buzunko/events{/privacy}","received_events_url":"https://api.github.com/users/Stas-Buzunko/received_events","type":"User","site_admin":false},"created_at":"2017-06-13T05:02:35Z","updated_at":"2017-06-13T05:02:35Z","body":"It's permissions issue, for people who couldn't fix permissions, workaround to install now in project locally and run ./node_modules/now/download/dist/now"}}
{"actor":{"display_login":"Stas-Buzunko"}}