{"action":"created","issue":{"url":"https://api.github.com/repos/datatypevoid/vulgar-cli/issues/4","repository_url":"https://api.github.com/repos/datatypevoid/vulgar-cli","labels_url":"https://api.github.com/repos/datatypevoid/vulgar-cli/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/datatypevoid/vulgar-cli/issues/4/comments","events_url":"https://api.github.com/repos/datatypevoid/vulgar-cli/issues/4/events","html_url":"https://github.com/datatypevoid/vulgar-cli/issues/4","id":158409580,"number":4,"title":"There are 2 files in your ~/.npm owned by root","user":{"login":"slayerfat","id":7544518,"avatar_url":"https://avatars.githubusercontent.com/u/7544518?v=3","gravatar_id":"","url":"https://api.github.com/users/slayerfat","html_url":"https://github.com/slayerfat","followers_url":"https://api.github.com/users/slayerfat/followers","following_url":"https://api.github.com/users/slayerfat/following{/other_user}","gists_url":"https://api.github.com/users/slayerfat/gists{/gist_id}","starred_url":"https://api.github.com/users/slayerfat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slayerfat/subscriptions","organizations_url":"https://api.github.com/users/slayerfat/orgs","repos_url":"https://api.github.com/users/slayerfat/repos","events_url":"https://api.github.com/users/slayerfat/events{/privacy}","received_events_url":"https://api.github.com/users/slayerfat/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-06-03T16:53:24Z","updated_at":"2016-07-11T19:18:03Z","closed_at":"2016-06-03T18:10:33Z","body":"Greetings!\r\n\r\nIm not sure if this a problem related to this repo or vulgar, however i can't init a new project, when i do `vulgar init name` there's an error:\r\n\r\n```\r\nvulgar init name\r\nWhat would you have your MEAN app be called? name\r\n\r\nChecking permissions...\r\n\r\nCloning branch master into destination folder:  name\r\n\r\ngit clone  --depth 1  -b master https://github.com/datatypevoid/vulgar.git \"name\"\r\n\r\n/usr/bin/npm\r\nCloning into 'name'...\r\nThere are 2 files in your ~/.npm owned by root\r\nPlease change the permissions by running - chown -R `whoami` ~/.npm \r\n\r\n/home/thaurissan/npm-global/lib/node_modules/vulgar-cli/lib/install.js:84\r\n      throw err;\r\n      ^\r\nRoot permissions in ~/.npm\r\n\r\n```\r\n\r\ni already executed the `chown -R 'whoami' ~/.npm` command even as root, and still fails."},"comment":{"url":"https://api.github.com/repos/datatypevoid/vulgar-cli/issues/comments/231836109","html_url":"https://github.com/datatypevoid/vulgar-cli/issues/4#issuecomment-231836109","issue_url":"https://api.github.com/repos/datatypevoid/vulgar-cli/issues/4","id":231836109,"user":{"login":"Pokom","id":1080566,"avatar_url":"https://avatars.githubusercontent.com/u/1080566?v=3","gravatar_id":"","url":"https://api.github.com/users/Pokom","html_url":"https://github.com/Pokom","followers_url":"https://api.github.com/users/Pokom/followers","following_url":"https://api.github.com/users/Pokom/following{/other_user}","gists_url":"https://api.github.com/users/Pokom/gists{/gist_id}","starred_url":"https://api.github.com/users/Pokom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pokom/subscriptions","organizations_url":"https://api.github.com/users/Pokom/orgs","repos_url":"https://api.github.com/users/Pokom/repos","events_url":"https://api.github.com/users/Pokom/events{/privacy}","received_events_url":"https://api.github.com/users/Pokom/received_events","type":"User","site_admin":false},"created_at":"2016-07-11T19:18:03Z","updated_at":"2016-07-11T19:18:03Z","body":"Is there anyway we can get this added to an FAQ? I know it's not specific to Vulgar, but this is the first time I've encountered this issue and spent ~1 hour before figuring it out. \r\n\r\n@slayerfat came through with a solid suggestion. "}}
{"actor":{"display_login":"Pokom"}}