{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/node-pre-gyp/issues/166","labels_url":"https://api.github.com/repos/mapbox/node-pre-gyp/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/node-pre-gyp/issues/166/comments","events_url":"https://api.github.com/repos/mapbox/node-pre-gyp/issues/166/events","html_url":"https://github.com/mapbox/node-pre-gyp/issues/166","id":85517129,"number":166,"title":"Do not throw exception for unsupported version when building anyway","user":{"login":"makenai","id":11425,"avatar_url":"https://avatars.githubusercontent.com/u/11425?v=3","gravatar_id":"","url":"https://api.github.com/users/makenai","html_url":"https://github.com/makenai","followers_url":"https://api.github.com/users/makenai/followers","following_url":"https://api.github.com/users/makenai/following{/other_user}","gists_url":"https://api.github.com/users/makenai/gists{/gist_id}","starred_url":"https://api.github.com/users/makenai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makenai/subscriptions","organizations_url":"https://api.github.com/users/makenai/orgs","repos_url":"https://api.github.com/users/makenai/repos","events_url":"https://api.github.com/users/makenai/events{/privacy}","received_events_url":"https://api.github.com/users/makenai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-05T12:09:15Z","updated_at":"2015-06-22T21:14:45Z","closed_at":null,"body":"When falling back to building from source, it would be useful if the version check didn't blow up and just passed through. This seems to cause a lot of trouble for things like atom-shell (electron) which it seems isn't supported as well as anything else new that appears. Would that be giving the build the best possible chance to succeed even if node-pre-gyp isn't caught up to the v8 flavor of the month?"},"comment":{"url":"https://api.github.com/repos/mapbox/node-pre-gyp/issues/comments/114263490","html_url":"https://github.com/mapbox/node-pre-gyp/issues/166#issuecomment-114263490","issue_url":"https://api.github.com/repos/mapbox/node-pre-gyp/issues/166","id":114263490,"user":{"login":"justinmchase","id":10974,"avatar_url":"https://avatars.githubusercontent.com/u/10974?v=3","gravatar_id":"","url":"https://api.github.com/users/justinmchase","html_url":"https://github.com/justinmchase","followers_url":"https://api.github.com/users/justinmchase/followers","following_url":"https://api.github.com/users/justinmchase/following{/other_user}","gists_url":"https://api.github.com/users/justinmchase/gists{/gist_id}","starred_url":"https://api.github.com/users/justinmchase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinmchase/subscriptions","organizations_url":"https://api.github.com/users/justinmchase/orgs","repos_url":"https://api.github.com/users/justinmchase/repos","events_url":"https://api.github.com/users/justinmchase/events{/privacy}","received_events_url":"https://api.github.com/users/justinmchase/received_events","type":"User","site_admin":false},"created_at":"2015-06-22T21:14:45Z","updated_at":"2015-06-22T21:14:45Z","body":":+1: \r\n\r\nI just came here to ask for this. I am attempting to build an electron binary thusly:\r\n\r\n```\r\nHOME=~/.electron-gyp node-pre-gyp configure build --target=0.28.2 --arch=x64 --dist-url=https://atom.io/download/atom-shell\r\n```\r\n\r\nWhich results in the error `Error: Unsupported target version: 0.28.2`\r\n\r\nThe error is of course valid, swapping `node-gyp` for `node-pre-gyp` builds successfully. I'm not sure how `node-pre-gyp` is calculating if the version is valid or not but it seems like it's possible to configure `node-gyp` to use impossible to know about combinations of versions and thus, you should just trust that the callers knows what they are asking for."}}