{"action":"created","issue":{"url":"https://api.github.com/repos/lerna/lerna/issues/1573","repository_url":"https://api.github.com/repos/lerna/lerna","labels_url":"https://api.github.com/repos/lerna/lerna/issues/1573/labels{/name}","comments_url":"https://api.github.com/repos/lerna/lerna/issues/1573/comments","events_url":"https://api.github.com/repos/lerna/lerna/issues/1573/events","html_url":"https://github.com/lerna/lerna/issues/1573","id":351541364,"node_id":"MDU6SXNzdWUzNTE1NDEzNjQ=","number":1573,"title":"publish in v3 fails, worked with v2","user":{"login":"phun-ky","id":1714029,"node_id":"MDQ6VXNlcjE3MTQwMjk=","avatar_url":"https://avatars1.githubusercontent.com/u/1714029?v=4","gravatar_id":"","url":"https://api.github.com/users/phun-ky","html_url":"https://github.com/phun-ky","followers_url":"https://api.github.com/users/phun-ky/followers","following_url":"https://api.github.com/users/phun-ky/following{/other_user}","gists_url":"https://api.github.com/users/phun-ky/gists{/gist_id}","starred_url":"https://api.github.com/users/phun-ky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phun-ky/subscriptions","organizations_url":"https://api.github.com/users/phun-ky/orgs","repos_url":"https://api.github.com/users/phun-ky/repos","events_url":"https://api.github.com/users/phun-ky/events{/privacy}","received_events_url":"https://api.github.com/users/phun-ky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-08-17T10:27:02Z","updated_at":"2018-08-17T15:28:10Z","closed_at":null,"author_association":"NONE","body":"<!--- Provide a general summary of the issue in the Title above -->\r\n\r\n## Expected Behavior\r\nI expect that after upgrading to `lerna@3`, `lerna publish` works without doing changes to my npm authentication setup.\r\n\r\n## Current Behavior\r\nFails with:\r\n\r\n    lerna ERR! ENEEDAUTH You must be logged in to publish packages. Use `npm login` and try again.\r\n\r\nIt works to go into the individual packages to just `npm publish`.\r\n\r\n## Steps to Reproduce (for bugs)\r\n1. Upgrade to lerna 3\r\n2. Try to push to a private repository, which worked with lerna 2\r\n\r\n<details><summary>lerna.json</summary><p>\r\n<!-- browsers demand the next line be empty -->\r\n\r\n```json\r\n{\r\n  \"packages\": [\r\n    \"packages/*\"\r\n  ],\r\n  \"changelog\": {\r\n    \"repo\": \"<organization>/<project>\r\n    \"cacheDir\": \".changelog\",\r\n    \"labels\": {\r\n      \"problems: breaking change\": \":boom: Breaking Change\",\r\n      \"additions: feature\": \":rocket: New Feature\",\r\n      \"problems: bug\": \":bug: Bug Fix\",\r\n      \"improvements: enhancement\": \":nail_care: Enhancement\",\r\n      \"improvements: upgrade deps\": \":arrow_up: Upgrade deps\",\r\n      \"mindless: chore\": \":house: Internal\",\r\n      \"mindless: documentation\": \":memo: Documentation\"\r\n    }\r\n  },\r\n  \"version\": \"1.10.26\",\r\n  \"command\": {\r\n    \"init\": {\r\n      \"exact\": true\r\n    },\r\n    \"publish\": {\r\n      \"message\": \"chore(release): :bookmark: publish %s\",\r\n      \"conventionalCommits\": true,\r\n      \"npmClient\": \"npm\"\r\n    }\r\n  }\r\n}\r\n\r\n```\r\n</p></details>\r\n\r\n\r\nPossible related to https://github.com/lerna/lerna/issues/1560\r\n\r\n## Context\r\nPublishing fails in our deployment cycle. \r\n\r\n## Your Environment\r\n\r\n| Executable | Version |\r\n| ---: | :--- |\r\n| `lerna --version` | 3.0.6 |\r\n| `npm --version`  | 6.4.0 |\r\n| `node --version` | 8.10.0 |\r\n\r\n| OS | Version |\r\n| --- | --- |\r\n| NAME | VERSION |\r\n| Ubuntu | 16.04 LTS |\r\n\r\n\r\n\r\n## Npm stuff\r\n\r\n.npmrc:\r\n```\r\n@scope2:registry=https://waypoint.myget.org/F/scope2/npm/\r\n//waypoint.myget.org/F/scope2/npm/:_authToken=${SCOPE2_NPM_TOKEN}\r\n\r\n```\r\n\r\nHow I logged into the private registry:\r\n\r\n    npm adduser --registry=https://waypoint.myget.org/F/scope2/npm/ --scope=@scope2"},"comment":{"url":"https://api.github.com/repos/lerna/lerna/issues/comments/413901800","html_url":"https://github.com/lerna/lerna/issues/1573#issuecomment-413901800","issue_url":"https://api.github.com/repos/lerna/lerna/issues/1573","id":413901800,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzkwMTgwMA==","user":{"login":"evocateur","id":5605,"node_id":"MDQ6VXNlcjU2MDU=","avatar_url":"https://avatars3.githubusercontent.com/u/5605?v=4","gravatar_id":"","url":"https://api.github.com/users/evocateur","html_url":"https://github.com/evocateur","followers_url":"https://api.github.com/users/evocateur/followers","following_url":"https://api.github.com/users/evocateur/following{/other_user}","gists_url":"https://api.github.com/users/evocateur/gists{/gist_id}","starred_url":"https://api.github.com/users/evocateur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evocateur/subscriptions","organizations_url":"https://api.github.com/users/evocateur/orgs","repos_url":"https://api.github.com/users/evocateur/repos","events_url":"https://api.github.com/users/evocateur/events{/privacy}","received_events_url":"https://api.github.com/users/evocateur/received_events","type":"User","site_admin":false},"created_at":"2018-08-17T15:28:10Z","updated_at":"2018-08-17T15:28:10Z","author_association":"MEMBER","body":">This works on MY machine if I do, but on my colleague's mac, he receives an npm auth error after all the packages have been packed: ...\n\n@phun-ky `--no-*` prefixes are Boolean negations, so `\"verifyAccess\": false` is what you're looking for."}}
{"actor":{"display_login":"evocateur"}}