{"action":"created","issue":{"url":"https://api.github.com/repos/thlorenz/irish-pub/issues/13","repository_url":"https://api.github.com/repos/thlorenz/irish-pub","labels_url":"https://api.github.com/repos/thlorenz/irish-pub/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/thlorenz/irish-pub/issues/13/comments","events_url":"https://api.github.com/repos/thlorenz/irish-pub/issues/13/events","html_url":"https://github.com/thlorenz/irish-pub/issues/13","id":260279649,"node_id":"MDU6SXNzdWUyNjAyNzk2NDk=","number":13,"title":"Working with private NPM servers?","user":{"login":"grofit","id":927201,"node_id":"MDQ6VXNlcjkyNzIwMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/927201?v=4","gravatar_id":"","url":"https://api.github.com/users/grofit","html_url":"https://github.com/grofit","followers_url":"https://api.github.com/users/grofit/followers","following_url":"https://api.github.com/users/grofit/following{/other_user}","gists_url":"https://api.github.com/users/grofit/gists{/gist_id}","starred_url":"https://api.github.com/users/grofit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grofit/subscriptions","organizations_url":"https://api.github.com/users/grofit/orgs","repos_url":"https://api.github.com/users/grofit/repos","events_url":"https://api.github.com/users/grofit/events{/privacy}","received_events_url":"https://api.github.com/users/grofit/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-25T13:37:47Z","updated_at":"2018-06-09T13:46:57Z","closed_at":"2018-06-09T13:46:57Z","author_association":"NONE","body":"We have a private NPM server setup on the local network, (I think its Sinopia/Vedaccio) however if I try and do an `irish-pub` on a package which goes to this private npm server I just get the error:\r\n\r\n```\r\nCannot get current npm user\r\n```\r\n\r\nAs the server is only on the local network and is not exposed externally it allows anonymous publishing so there are no users associated with it, and we just include in our `package.json` files:\r\n\r\n```\r\n\"publishConfig\": {\r\n    \"scope\": \"@ourPrivateScope\",\r\n    \"registry\": \"http://our-npm-server/\"\r\n  }\r\n```\r\n\r\nNot sure if this is a bug or intended output, as it doesnt mention that you support anon/private npm repos, so just wanted to check."},"comment":{"url":"https://api.github.com/repos/thlorenz/irish-pub/issues/comments/395970740","html_url":"https://github.com/thlorenz/irish-pub/issues/13#issuecomment-395970740","issue_url":"https://api.github.com/repos/thlorenz/irish-pub/issues/13","id":395970740,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTk3MDc0MA==","user":{"login":"chinesedfan","id":1736154,"node_id":"MDQ6VXNlcjE3MzYxNTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1736154?v=4","gravatar_id":"","url":"https://api.github.com/users/chinesedfan","html_url":"https://github.com/chinesedfan","followers_url":"https://api.github.com/users/chinesedfan/followers","following_url":"https://api.github.com/users/chinesedfan/following{/other_user}","gists_url":"https://api.github.com/users/chinesedfan/gists{/gist_id}","starred_url":"https://api.github.com/users/chinesedfan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chinesedfan/subscriptions","organizations_url":"https://api.github.com/users/chinesedfan/orgs","repos_url":"https://api.github.com/users/chinesedfan/repos","events_url":"https://api.github.com/users/chinesedfan/events{/privacy}","received_events_url":"https://api.github.com/users/chinesedfan/received_events","type":"User","site_admin":false},"created_at":"2018-06-09T13:46:57Z","updated_at":"2018-06-09T13:46:57Z","author_association":"COLLABORATOR","body":"This package should be able to work with private NPM servers. You were failed when executing `npm whoami`. Please make sure you have logged in before running `irish-pub`."}}
{"actor":{"display_login":"chinesedfan"}}