{"action":"created","issue":{"url":"https://api.github.com/repos/yarnpkg/yarn/issues/2208","repository_url":"https://api.github.com/repos/yarnpkg/yarn","labels_url":"https://api.github.com/repos/yarnpkg/yarn/issues/2208/labels{/name}","comments_url":"https://api.github.com/repos/yarnpkg/yarn/issues/2208/comments","events_url":"https://api.github.com/repos/yarnpkg/yarn/issues/2208/events","html_url":"https://github.com/yarnpkg/yarn/issues/2208","id":194733359,"number":2208,"title":"Yarn cannot install `immutable-ext` on Node 6.9.1 but npm works fine","user":{"login":"dmitriz","id":2513193,"avatar_url":"https://avatars.githubusercontent.com/u/2513193?v=3","gravatar_id":"","url":"https://api.github.com/users/dmitriz","html_url":"https://github.com/dmitriz","followers_url":"https://api.github.com/users/dmitriz/followers","following_url":"https://api.github.com/users/dmitriz/following{/other_user}","gists_url":"https://api.github.com/users/dmitriz/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitriz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitriz/subscriptions","organizations_url":"https://api.github.com/users/dmitriz/orgs","repos_url":"https://api.github.com/users/dmitriz/repos","events_url":"https://api.github.com/users/dmitriz/events{/privacy}","received_events_url":"https://api.github.com/users/dmitriz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-12-10T01:09:19Z","updated_at":"2016-12-21T13:23:31Z","closed_at":"2016-12-10T13:40:11Z","body":"**Do you want to request a *feature* or report a *bug*?**\r\n<!-- Is the feature a substantial feature request? Please use https://github.com/yarnpkg/rfcs -->\r\n\r\nReporting Bug.\r\n\r\n**What is the current behavior?**\r\n\r\nAttempt to install package generates error:\r\n```\r\n✗ yarn add immutable-ext     \r\nyarn add v0.17.4\r\ninfo No lockfile found.\r\n[1/4] 🔍  Resolving packages...\r\n[2/4] 🚚  Fetching packages...\r\nerror immutable-ext@1.0.6: The engine \"node\" is incompatible with this module. Expected version \"6.2.0\".\r\nerror Found incompatible module\r\ninfo Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.\r\n```\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\n\r\nRun `yarn add immutable-ext` on Node 6.9.1\r\n\r\n**What is the expected behavior?**\r\n\r\nExpected to install the package, like `npm` does:\r\n\r\n```\r\nnpm i immutable-ext -S\r\n/Users/zaitsev/Desktop/dr-frisbe-course/examples\r\n└── immutable-ext@1.0.6 \r\n\r\nnpm WARN examples No description\r\nnpm WARN examples No repository field.\r\nnpm WARN examples No license field.\r\n```\r\n\r\n**Please mention your node.js, yarn and operating system version.**\r\n\r\nNode 6.9.1, yarn 0.17.4"},"comment":{"url":"https://api.github.com/repos/yarnpkg/yarn/issues/comments/268521815","html_url":"https://github.com/yarnpkg/yarn/issues/2208#issuecomment-268521815","issue_url":"https://api.github.com/repos/yarnpkg/yarn/issues/2208","id":268521815,"user":{"login":"alejandroiglesias","id":480640,"avatar_url":"https://avatars.githubusercontent.com/u/480640?v=3","gravatar_id":"","url":"https://api.github.com/users/alejandroiglesias","html_url":"https://github.com/alejandroiglesias","followers_url":"https://api.github.com/users/alejandroiglesias/followers","following_url":"https://api.github.com/users/alejandroiglesias/following{/other_user}","gists_url":"https://api.github.com/users/alejandroiglesias/gists{/gist_id}","starred_url":"https://api.github.com/users/alejandroiglesias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alejandroiglesias/subscriptions","organizations_url":"https://api.github.com/users/alejandroiglesias/orgs","repos_url":"https://api.github.com/users/alejandroiglesias/repos","events_url":"https://api.github.com/users/alejandroiglesias/events{/privacy}","received_events_url":"https://api.github.com/users/alejandroiglesias/received_events","type":"User","site_admin":false},"created_at":"2016-12-21T13:23:30Z","updated_at":"2016-12-21T13:23:30Z","body":"@dmitriz guarding people's safety by deviating from the standard npm behavior is one of the main reasons for Yarn to exist, according to my understanding.\r\n\r\nRegarding if it should be an error that cancels package install or just a warning, I don't know and people who know more about the purpose and behavior of Yarn will tell. But for sure I needed to be notified in the error about the `--ignore-engines` parameter. I guess adding something like this could work:\r\n>If you are sure you want to proceed, use the --ignore-engines parameter."}}
{"actor":{"display_login":"alejandroiglesias"}}