{"action":"created","issue":{"url":"https://api.github.com/repos/nikhilmodak/gulp-ngdocs/issues/49","labels_url":"https://api.github.com/repos/nikhilmodak/gulp-ngdocs/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/nikhilmodak/gulp-ngdocs/issues/49/comments","events_url":"https://api.github.com/repos/nikhilmodak/gulp-ngdocs/issues/49/events","html_url":"https://github.com/nikhilmodak/gulp-ngdocs/issues/49","id":89356014,"number":49,"title":"Remove bower dependencies, or run bower install with allow-root","user":{"login":"michaelbazos","id":4216141,"avatar_url":"https://avatars.githubusercontent.com/u/4216141?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelbazos","html_url":"https://github.com/michaelbazos","followers_url":"https://api.github.com/users/michaelbazos/followers","following_url":"https://api.github.com/users/michaelbazos/following{/other_user}","gists_url":"https://api.github.com/users/michaelbazos/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelbazos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelbazos/subscriptions","organizations_url":"https://api.github.com/users/michaelbazos/orgs","repos_url":"https://api.github.com/users/michaelbazos/repos","events_url":"https://api.github.com/users/michaelbazos/events{/privacy}","received_events_url":"https://api.github.com/users/michaelbazos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-18T17:54:09Z","updated_at":"2015-07-02T02:45:40Z","closed_at":null,"body":"When node is running as a root user, the `bower install` command triggered by the install script is causing the following error : \r\n\r\n```sh\r\nbower ESUDO         Cannot be run with sudo\r\n[...]\r\nnpm ERR! gulp-ngdocs@0.2.12 install: `bower install`\r\n```\r\n\r\nCouldn't the actual bower dependencies be managed in package.json instead, or at least the `bower install` command launched with the `--allow-root` option?"},"comment":{"url":"https://api.github.com/repos/nikhilmodak/gulp-ngdocs/issues/comments/117881786","html_url":"https://github.com/nikhilmodak/gulp-ngdocs/issues/49#issuecomment-117881786","issue_url":"https://api.github.com/repos/nikhilmodak/gulp-ngdocs/issues/49","id":117881786,"user":{"login":"willpracht","id":652925,"avatar_url":"https://avatars.githubusercontent.com/u/652925?v=3","gravatar_id":"","url":"https://api.github.com/users/willpracht","html_url":"https://github.com/willpracht","followers_url":"https://api.github.com/users/willpracht/followers","following_url":"https://api.github.com/users/willpracht/following{/other_user}","gists_url":"https://api.github.com/users/willpracht/gists{/gist_id}","starred_url":"https://api.github.com/users/willpracht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willpracht/subscriptions","organizations_url":"https://api.github.com/users/willpracht/orgs","repos_url":"https://api.github.com/users/willpracht/repos","events_url":"https://api.github.com/users/willpracht/events{/privacy}","received_events_url":"https://api.github.com/users/willpracht/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T02:45:40Z","updated_at":"2015-07-02T02:45:40Z","body":"[Check this out, my friend](http://hood.ie/blog/why-you-shouldnt-use-sudo-with-npm.html). \r\n\r\nCheers."}}