{"action":"opened","issue":{"url":"https://api.github.com/repos/npm/npm/issues/9166","labels_url":"https://api.github.com/repos/npm/npm/issues/9166/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/9166/comments","events_url":"https://api.github.com/repos/npm/npm/issues/9166/events","html_url":"https://github.com/npm/npm/issues/9166","id":99100457,"number":9166,"title":"Error with npm install","user":{"login":"jcortes0309","id":1420887,"avatar_url":"https://avatars.githubusercontent.com/u/1420887?v=3","gravatar_id":"","url":"https://api.github.com/users/jcortes0309","html_url":"https://github.com/jcortes0309","followers_url":"https://api.github.com/users/jcortes0309/followers","following_url":"https://api.github.com/users/jcortes0309/following{/other_user}","gists_url":"https://api.github.com/users/jcortes0309/gists{/gist_id}","starred_url":"https://api.github.com/users/jcortes0309/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcortes0309/subscriptions","organizations_url":"https://api.github.com/users/jcortes0309/orgs","repos_url":"https://api.github.com/users/jcortes0309/repos","events_url":"https://api.github.com/users/jcortes0309/events{/privacy}","received_events_url":"https://api.github.com/users/jcortes0309/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-05T02:07:19Z","updated_at":"2015-08-05T02:07:19Z","closed_at":null,"body":"I'm trying npm install -g generator-webapp; however I'm getting error messages (see below).  I even followed the instructions in the following two threads, but they didn't help me:\r\n* https://github.com/npm/npm/issues/6922\r\n* https://github.com/npm/npm/issues/7884\r\n\r\nI followed the instructions in the first thread first since I was getting a WARN locking Error, but doing the nom cache clean didn't help.\r\n\r\nHere's the error message I'm getting:\r\n\r\n~\\ $ npm install -g generator-webapp\r\nnpm ERR! Darwin 14.4.0\r\nnpm ERR! argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"install\" \"-g\" \"generator-webapp\"\r\nnpm ERR! node v0.12.7\r\nnpm ERR! npm  v2.11.3\r\nnpm ERR! path /usr/local/lib/node_modules/generator-webapp\r\nnpm ERR! code EACCES\r\nnpm ERR! errno -13\r\n\r\nnpm ERR! Error: EACCES, rmdir '/usr/local/lib/node_modules/generator-webapp'\r\nnpm ERR!     at Error (native)\r\nnpm ERR!  { [Error: EACCES, rmdir '/usr/local/lib/node_modules/generator-webapp']\r\nnpm ERR!   errno: -13,\r\nnpm ERR!   code: 'EACCES',\r\nnpm ERR!   path: '/usr/local/lib/node_modules/generator-webapp' }\r\nnpm ERR! \r\nnpm ERR! Please try running this command again as root/Administrator.\r\nnpm ERR! error rolling back Error: EACCES, rmdir '/usr/local/lib/node_modules/generator-webapp'\r\nnpm ERR! error rolling back     at Error (native)\r\nnpm ERR! error rolling back  { [Error: EACCES, rmdir '/usr/local/lib/node_modules/generator-webapp']\r\nnpm ERR! error rolling back   errno: -13,\r\nnpm ERR! error rolling back   code: 'EACCES',\r\nnpm ERR! error rolling back   path: '/usr/local/lib/node_modules/generator-webapp' }\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /Users/juancortes/npm-debug.log"}}