{"action":"created","issue":{"url":"https://api.github.com/repos/MicrosoftDocs/appcenter-docs/issues/177","repository_url":"https://api.github.com/repos/MicrosoftDocs/appcenter-docs","labels_url":"https://api.github.com/repos/MicrosoftDocs/appcenter-docs/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/MicrosoftDocs/appcenter-docs/issues/177/comments","events_url":"https://api.github.com/repos/MicrosoftDocs/appcenter-docs/issues/177/events","html_url":"https://github.com/MicrosoftDocs/appcenter-docs/issues/177","id":331841659,"node_id":"MDU6SXNzdWUzMzE4NDE2NTk=","number":177,"title":"advising to use `sudo` with `npm install appcenter-cli` on macOS and Linux","user":{"login":"pcooney10","id":11021913,"node_id":"MDQ6VXNlcjExMDIxOTEz","avatar_url":"https://avatars1.githubusercontent.com/u/11021913?v=4","gravatar_id":"","url":"https://api.github.com/users/pcooney10","html_url":"https://github.com/pcooney10","followers_url":"https://api.github.com/users/pcooney10/followers","following_url":"https://api.github.com/users/pcooney10/following{/other_user}","gists_url":"https://api.github.com/users/pcooney10/gists{/gist_id}","starred_url":"https://api.github.com/users/pcooney10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcooney10/subscriptions","organizations_url":"https://api.github.com/users/pcooney10/orgs","repos_url":"https://api.github.com/users/pcooney10/repos","events_url":"https://api.github.com/users/pcooney10/events{/privacy}","received_events_url":"https://api.github.com/users/pcooney10/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"Zakeelm","id":31293287,"node_id":"MDQ6VXNlcjMxMjkzMjg3","avatar_url":"https://avatars1.githubusercontent.com/u/31293287?v=4","gravatar_id":"","url":"https://api.github.com/users/Zakeelm","html_url":"https://github.com/Zakeelm","followers_url":"https://api.github.com/users/Zakeelm/followers","following_url":"https://api.github.com/users/Zakeelm/following{/other_user}","gists_url":"https://api.github.com/users/Zakeelm/gists{/gist_id}","starred_url":"https://api.github.com/users/Zakeelm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zakeelm/subscriptions","organizations_url":"https://api.github.com/users/Zakeelm/orgs","repos_url":"https://api.github.com/users/Zakeelm/repos","events_url":"https://api.github.com/users/Zakeelm/events{/privacy}","received_events_url":"https://api.github.com/users/Zakeelm/received_events","type":"User","site_admin":false},"assignees":[{"login":"Zakeelm","id":31293287,"node_id":"MDQ6VXNlcjMxMjkzMjg3","avatar_url":"https://avatars1.githubusercontent.com/u/31293287?v=4","gravatar_id":"","url":"https://api.github.com/users/Zakeelm","html_url":"https://github.com/Zakeelm","followers_url":"https://api.github.com/users/Zakeelm/followers","following_url":"https://api.github.com/users/Zakeelm/following{/other_user}","gists_url":"https://api.github.com/users/Zakeelm/gists{/gist_id}","starred_url":"https://api.github.com/users/Zakeelm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zakeelm/subscriptions","organizations_url":"https://api.github.com/users/Zakeelm/orgs","repos_url":"https://api.github.com/users/Zakeelm/repos","events_url":"https://api.github.com/users/Zakeelm/events{/privacy}","received_events_url":"https://api.github.com/users/Zakeelm/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-06-13T04:56:24Z","updated_at":"2018-06-19T19:59:02Z","closed_at":"2018-06-19T19:59:02Z","author_association":"NONE","body":"[This](https://docs.microsoft.com/en-us/appcenter/distribution/codepush/index#1-install-the-app-center-cli) may not be the best advice: \r\n\r\n> Note\r\n> On macOS and Linux, you may need to prefix this command with `sudo`\r\n\r\nUsually sudo is needed to install an npm package when one was previously installed with sudo/root permissions. For reference as to why this is not good, here's a good resource: https://givan.se/do-not-sudo-npm/\r\nIn the spirit of making everyone better devs, maybe we can remove this and advice people to use nvm or point them to resources like [this](https://docs.npmjs.com/getting-started/fixing-npm-permissions) or [this](https://github.com/sindresorhus/guides/blob/master/npm-global-without-sudo.md).\r\n\r\n\r\n---\r\n#### Document Details\r\n\r\n⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*\r\n\r\n* ID: 609b687a-a22b-47e0-b20f-767a56109c47\r\n* Version Independent ID: f6e679d5-638b-c150-5fe9-11cbfe97c7ae\r\n* Content: [Use CodePush to update your app live - Visual Studio App Center](https://docs.microsoft.com/en-us/appcenter/distribution/codepush/index)\r\n* Content Source: [docs/distribution/codepush/index.md](https://github.com/MicrosoftDocs/appcenter-docs/blob/live/docs/distribution/codepush/index.md)\r\n* Service: **vs-appcenter**\r\n* GitHub Login: @iageoghe\r\n* Microsoft Alias: **iageoghe**"},"comment":{"url":"https://api.github.com/repos/MicrosoftDocs/appcenter-docs/issues/comments/398525696","html_url":"https://github.com/MicrosoftDocs/appcenter-docs/issues/177#issuecomment-398525696","issue_url":"https://api.github.com/repos/MicrosoftDocs/appcenter-docs/issues/177","id":398525696,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODUyNTY5Ng==","user":{"login":"jwargo","id":30843404,"node_id":"MDQ6VXNlcjMwODQzNDA0","avatar_url":"https://avatars0.githubusercontent.com/u/30843404?v=4","gravatar_id":"","url":"https://api.github.com/users/jwargo","html_url":"https://github.com/jwargo","followers_url":"https://api.github.com/users/jwargo/followers","following_url":"https://api.github.com/users/jwargo/following{/other_user}","gists_url":"https://api.github.com/users/jwargo/gists{/gist_id}","starred_url":"https://api.github.com/users/jwargo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwargo/subscriptions","organizations_url":"https://api.github.com/users/jwargo/orgs","repos_url":"https://api.github.com/users/jwargo/repos","events_url":"https://api.github.com/users/jwargo/events{/privacy}","received_events_url":"https://api.github.com/users/jwargo/received_events","type":"User","site_admin":false},"created_at":"2018-06-19T19:59:02Z","updated_at":"2018-06-19T19:59:02Z","author_association":"COLLABORATOR","body":"@pcooney10 I made the docs more clear."}}
{"actor":{"display_login":"jwargo"}}