{"action":"created","issue":{"url":"https://api.github.com/repos/yarnpkg/yarn/issues/634","repository_url":"https://api.github.com/repos/yarnpkg/yarn","labels_url":"https://api.github.com/repos/yarnpkg/yarn/issues/634/labels{/name}","comments_url":"https://api.github.com/repos/yarnpkg/yarn/issues/634/comments","events_url":"https://api.github.com/repos/yarnpkg/yarn/issues/634/events","html_url":"https://github.com/yarnpkg/yarn/issues/634","id":182311000,"number":634,"title":"Blocking Node version check","user":{"login":"olivierlambert","id":1241401,"avatar_url":"https://avatars.githubusercontent.com/u/1241401?v=3","gravatar_id":"","url":"https://api.github.com/users/olivierlambert","html_url":"https://github.com/olivierlambert","followers_url":"https://api.github.com/users/olivierlambert/followers","following_url":"https://api.github.com/users/olivierlambert/following{/other_user}","gists_url":"https://api.github.com/users/olivierlambert/gists{/gist_id}","starred_url":"https://api.github.com/users/olivierlambert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olivierlambert/subscriptions","organizations_url":"https://api.github.com/users/olivierlambert/orgs","repos_url":"https://api.github.com/users/olivierlambert/repos","events_url":"https://api.github.com/users/olivierlambert/events{/privacy}","received_events_url":"https://api.github.com/users/olivierlambert/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yarnpkg/yarn/labels/compatibility","name":"compatibility","color":"b60205"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-10-11T16:25:52Z","updated_at":"2016-10-12T17:28:59Z","closed_at":null,"body":"Hi there,\r\n\r\nThat's maybe a bug :)\r\n\r\nOur project ([Xen Orchestra](https://raw.githubusercontent.com/vatesfr/xo-web/next-release/package.json)) have a dep (`chartist`) we use in Browserify. But `yarn` stop at:\r\n\r\n```\r\n[2/4] Fetching packages...\r\nerror chartist@0.9.8: The engine \"node\" is incompatible with this module. Expected version \">=5.5.0\".\r\nerror Found incompatible module\r\n```\r\n\r\nThis should be a warning, not an error, because we don't use this dep in Node.\r\n\r\nRunning this on Node `v4.4.7` and Debian testing.\r\n"},"comment":{"url":"https://api.github.com/repos/yarnpkg/yarn/issues/comments/253281081","html_url":"https://github.com/yarnpkg/yarn/issues/634#issuecomment-253281081","issue_url":"https://api.github.com/repos/yarnpkg/yarn/issues/634","id":253281081,"user":{"login":"jkrems","id":567540,"avatar_url":"https://avatars.githubusercontent.com/u/567540?v=3","gravatar_id":"","url":"https://api.github.com/users/jkrems","html_url":"https://github.com/jkrems","followers_url":"https://api.github.com/users/jkrems/followers","following_url":"https://api.github.com/users/jkrems/following{/other_user}","gists_url":"https://api.github.com/users/jkrems/gists{/gist_id}","starred_url":"https://api.github.com/users/jkrems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkrems/subscriptions","organizations_url":"https://api.github.com/users/jkrems/orgs","repos_url":"https://api.github.com/users/jkrems/repos","events_url":"https://api.github.com/users/jkrems/events{/privacy}","received_events_url":"https://api.github.com/users/jkrems/received_events","type":"User","site_admin":false},"created_at":"2016-10-12T17:28:59Z","updated_at":"2016-10-12T17:28:59Z","body":"This affects multiple of our (Groupon's) internal apps. Including things like \"years ago someone set the node engine to `0.10 || 0.11` when they dropped support for node 0.8\". But even if every package would have a perfect engine field, the error behavior is wrong for node prerelease versions and packages that aren't used in node. And then there's packages that use `execSync` (random example) in one code path but are completely fine to use w/o it in 99% of the cases. Or, as others have pointed out, packages that are used in browser bundles, making the node engine field irrelevant.\r\n\r\nI really don't want to have to patch yarn whenever I try out a beta version of node. And the only alternative is to add a boilerplate `--ignore-engines` to every single project. :/"}}
{"actor":{"display_login":"jkrems"}}