{"action":"created","issue":{"url":"https://api.github.com/repos/yarnpkg/yarn/issues/7734","repository_url":"https://api.github.com/repos/yarnpkg/yarn","labels_url":"https://api.github.com/repos/yarnpkg/yarn/issues/7734/labels{/name}","comments_url":"https://api.github.com/repos/yarnpkg/yarn/issues/7734/comments","events_url":"https://api.github.com/repos/yarnpkg/yarn/issues/7734/events","html_url":"https://github.com/yarnpkg/yarn/issues/7734","id":532501807,"node_id":"MDU6SXNzdWU1MzI1MDE4MDc=","number":7734,"title":"CLI functionality related to aggregator preventing yarn commands 1.19-1.22 - Reverted to 1.16","user":{"login":"DavideDaniel","id":8802938,"node_id":"MDQ6VXNlcjg4MDI5Mzg=","avatar_url":"https://avatars3.githubusercontent.com/u/8802938?v=4","gravatar_id":"","url":"https://api.github.com/users/DavideDaniel","html_url":"https://github.com/DavideDaniel","followers_url":"https://api.github.com/users/DavideDaniel/followers","following_url":"https://api.github.com/users/DavideDaniel/following{/other_user}","gists_url":"https://api.github.com/users/DavideDaniel/gists{/gist_id}","starred_url":"https://api.github.com/users/DavideDaniel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavideDaniel/subscriptions","organizations_url":"https://api.github.com/users/DavideDaniel/orgs","repos_url":"https://api.github.com/users/DavideDaniel/repos","events_url":"https://api.github.com/users/DavideDaniel/events{/privacy}","received_events_url":"https://api.github.com/users/DavideDaniel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2019-12-04T07:33:05Z","updated_at":"2020-01-08T19:12:42Z","closed_at":null,"author_association":"NONE","body":"`<!-- *Before creating an issue please make sure you are using the latest version of yarn.* -->`\r\n^ Problems started with upgrading to 1.19 and then snowballed into 5 hours of hell trying to figure out what went wrong.\r\n\r\n**Do you want to request a *feature* or report a *bug*?**\r\n`error An unexpected error occurred: \"expected workspace package to exist for \\\"rimraf\\\"\"`\r\nIt started with some dev dependency in a workspace repo and after messing around with nohoist settings I started noticing that the same modules keep coming up. Rimraf, inquirer, react-dev-tools.. generally things that were listed many times over in transitive dependencies. Read through many different similar issues regarding symlinks but ended up being unable to add new modules through cli which was the problem I was trying to address for automation.\r\n<!-- Is the feature a substantial feature request? Please use https://github.com/yarnpkg/rfcs -->\r\n\r\n**What is the current behavior?**\r\n\r\nThese commands do not seem to work in version `v1.19.2` through `v1.22.0-20191201.1637`:\r\n\r\n`yarn workspace @scope/A add uuid lodash.get --dev`\r\n`cd packages/A && yarn add uuid lodash.get --dev`\r\n`yarn workspace @scope/A add js-cookie@^2.2.1 -D`\r\n`cd packages/A && yarn add lodash.get@^2.2.1 --dev`\r\n\r\nTried `yarn cache clear`, removing node_modules, reinstalling yarn to no avail.\r\n\r\n**If the current behavior is a bug, please provide the steps to reproduce.**\r\n<!-- If you can, provide a link to a public repository which contains the files necessary to reproduce this. -->\r\nSorry, work repos.\r\n\r\n**What is the expected behavior?**\r\nWorkspaces command and yarn add should work from cli.\r\n\r\n**Please mention your node.js, yarn and operating system version.**\r\nTested on the following:\r\n\r\nNode:\r\nv8.9.4\r\nv8.15.1\r\nv10.11.0\r\nv10.16.0\r\nv10.16.2\r\n\r\nYarn:\r\nv1.19.2\r\nv1.21.0\r\nv1.22.0-20191201.1637\r\n\r\nOS:\r\nMacOS Mojave 10.14.6"},"comment":{"url":"https://api.github.com/repos/yarnpkg/yarn/issues/comments/572213825","html_url":"https://github.com/yarnpkg/yarn/issues/7734#issuecomment-572213825","issue_url":"https://api.github.com/repos/yarnpkg/yarn/issues/7734","id":572213825,"node_id":"MDEyOklzc3VlQ29tbWVudDU3MjIxMzgyNQ==","user":{"login":"amirburbea","id":2123658,"node_id":"MDQ6VXNlcjIxMjM2NTg=","avatar_url":"https://avatars1.githubusercontent.com/u/2123658?v=4","gravatar_id":"","url":"https://api.github.com/users/amirburbea","html_url":"https://github.com/amirburbea","followers_url":"https://api.github.com/users/amirburbea/followers","following_url":"https://api.github.com/users/amirburbea/following{/other_user}","gists_url":"https://api.github.com/users/amirburbea/gists{/gist_id}","starred_url":"https://api.github.com/users/amirburbea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amirburbea/subscriptions","organizations_url":"https://api.github.com/users/amirburbea/orgs","repos_url":"https://api.github.com/users/amirburbea/repos","events_url":"https://api.github.com/users/amirburbea/events{/privacy}","received_events_url":"https://api.github.com/users/amirburbea/received_events","type":"User","site_admin":false},"created_at":"2020-01-08T19:12:42Z","updated_at":"2020-01-08T19:12:42Z","author_association":"NONE","body":"Any update on this?"}}
{"actor":{"display_login":"amirburbea"}}