{"action":"created","issue":{"url":"https://api.github.com/repos/expressjs/express/issues/3126","repository_url":"https://api.github.com/repos/expressjs/express","labels_url":"https://api.github.com/repos/expressjs/express/issues/3126/labels{/name}","comments_url":"https://api.github.com/repos/expressjs/express/issues/3126/comments","events_url":"https://api.github.com/repos/expressjs/express/issues/3126/events","html_url":"https://github.com/expressjs/express/issues/3126","id":189264576,"number":3126,"title":"Cannot install in El Capitan","user":{"login":"revjtanton","id":6391564,"avatar_url":"https://avatars.githubusercontent.com/u/6391564?v=3","gravatar_id":"","url":"https://api.github.com/users/revjtanton","html_url":"https://github.com/revjtanton","followers_url":"https://api.github.com/users/revjtanton/followers","following_url":"https://api.github.com/users/revjtanton/following{/other_user}","gists_url":"https://api.github.com/users/revjtanton/gists{/gist_id}","starred_url":"https://api.github.com/users/revjtanton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/revjtanton/subscriptions","organizations_url":"https://api.github.com/users/revjtanton/orgs","repos_url":"https://api.github.com/users/revjtanton/repos","events_url":"https://api.github.com/users/revjtanton/events{/privacy}","received_events_url":"https://api.github.com/users/revjtanton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-15T00:20:44Z","updated_at":"2016-11-15T00:24:29Z","closed_at":null,"body":"I've been working on this for a while and it's the simplest thing....I NEED to simply install express so I can move on and actually work.  No matter what I do I get this same error and express won't install:\r\n`➜  ~ npm install -g express\r\nnpm WARN checkPermissions Missing write access to /Users/revjtanton/.nvm/versions/node/v0.12.2/lib/node_modules/express\r\n/Users/revjtanton/.nvm/versions/node/v0.12.2/lib\r\n└── express@4.14.0\r\n\r\nnpm ERR! Darwin 15.6.0\r\nnpm ERR! argv \"node\" \"/Users/revjtanton/.nvm/versions/node/v0.12.2/bin/npm\" \"install\" \"-g\" \"express\"\r\nnpm ERR! node v0.12.2\r\nnpm ERR! npm  v3.9.3\r\nnpm ERR! path /Users/revjtanton/.nvm/versions/node/v0.12.2/lib/node_modules/express\r\nnpm ERR! code EACCES\r\nnpm ERR! errno -13\r\n\r\nnpm ERR! Error: EACCES, access '/Users/revjtanton/.nvm/versions/node/v0.12.2/lib/node_modules/express'\r\nnpm ERR!     at Error (native)\r\nnpm ERR!  { [Error: EACCES, access '/Users/revjtanton/.nvm/versions/node/v0.12.2/lib/node_modules/express']\r\nnpm ERR!   errno: -13,\r\nnpm ERR!   code: 'EACCES',\r\nnpm ERR!   path: '/Users/revjtanton/.nvm/versions/node/v0.12.2/lib/node_modules/express' }\r\nnpm ERR!\r\nnpm ERR! Please try running this command again as root/Administrator.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /Users/revjtanton/npm-debug.log`\r\n\r\nI've managed permissions, cleaned caches, tried installing with sudo (which doesn't produce an error...but I'm still not able to use express). "},"comment":{"url":"https://api.github.com/repos/expressjs/express/issues/comments/260508066","html_url":"https://github.com/expressjs/express/issues/3126#issuecomment-260508066","issue_url":"https://api.github.com/repos/expressjs/express/issues/3126","id":260508066,"user":{"login":"wesleytodd","id":1027776,"avatar_url":"https://avatars.githubusercontent.com/u/1027776?v=3","gravatar_id":"","url":"https://api.github.com/users/wesleytodd","html_url":"https://github.com/wesleytodd","followers_url":"https://api.github.com/users/wesleytodd/followers","following_url":"https://api.github.com/users/wesleytodd/following{/other_user}","gists_url":"https://api.github.com/users/wesleytodd/gists{/gist_id}","starred_url":"https://api.github.com/users/wesleytodd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wesleytodd/subscriptions","organizations_url":"https://api.github.com/users/wesleytodd/orgs","repos_url":"https://api.github.com/users/wesleytodd/repos","events_url":"https://api.github.com/users/wesleytodd/events{/privacy}","received_events_url":"https://api.github.com/users/wesleytodd/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T00:24:29Z","updated_at":"2016-11-15T00:24:29Z","body":"try `sudo chown -R $(whoami) /Users/revjtanton/.nvm`.  It is clearly a permissions problem.  \r\n\r\nFWIW, I am not sure why you would ever want to install express globally, so I would also caution you to drop the `-g` and install it in the project in which you are using it, which would also avoid this issue."}}
{"actor":{"display_login":"wesleytodd"}}