{"action":"opened","issue":{"url":"https://api.github.com/repos/yarnpkg/yarn/issues/6798","repository_url":"https://api.github.com/repos/yarnpkg/yarn","labels_url":"https://api.github.com/repos/yarnpkg/yarn/issues/6798/labels{/name}","comments_url":"https://api.github.com/repos/yarnpkg/yarn/issues/6798/comments","events_url":"https://api.github.com/repos/yarnpkg/yarn/issues/6798/events","html_url":"https://github.com/yarnpkg/yarn/issues/6798","id":387727935,"node_id":"MDU6SXNzdWUzODc3Mjc5MzU=","number":6798,"title":"Can't generate bin inside virtual machines on Windows [Provide the ability to force a bin shim rather than a symlink]","user":{"login":"codebymikey","id":9484406,"node_id":"MDQ6VXNlcjk0ODQ0MDY=","avatar_url":"https://avatars1.githubusercontent.com/u/9484406?v=4","gravatar_id":"","url":"https://api.github.com/users/codebymikey","html_url":"https://github.com/codebymikey","followers_url":"https://api.github.com/users/codebymikey/followers","following_url":"https://api.github.com/users/codebymikey/following{/other_user}","gists_url":"https://api.github.com/users/codebymikey/gists{/gist_id}","starred_url":"https://api.github.com/users/codebymikey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codebymikey/subscriptions","organizations_url":"https://api.github.com/users/codebymikey/orgs","repos_url":"https://api.github.com/users/codebymikey/repos","events_url":"https://api.github.com/users/codebymikey/events{/privacy}","received_events_url":"https://api.github.com/users/codebymikey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-05T12:09:31Z","updated_at":"2018-12-05T12:09:31Z","closed_at":null,"author_association":"NONE","body":"**Do you want to request a *feature* or report a *bug*?**\r\nfeature / quality of life improvement.\r\n\r\n**What is the current behavior?**\r\nYou can't generate yarn bins under linux virtual machines on windows machines.\r\n\r\n**What is the expected behavior?**\r\n\r\nYou're currently forced to pass `no-bin-links` into the command to bypass this failure.\r\nHowever, the cleaner approach is to allow developers to pass in a special parameter like `force-bin-shim` which is read by [`linkBin`](https://github.com/yarnpkg/yarn/blob/011a634d787611e9c1f2f1b888212525f1fc096d/src/package-linker.js#L34) and generates a shim which can work on windows/linux depending on the current host platform.\r\n\r\nyarn 1.12.3\r\nWindows 10 x64 (Ubuntu 16.04.5 LTS virtual machine)\r\nNode v8.12.0"}}
{"actor":{"display_login":"codebymikey"}}