{"action":"opened","number":181,"pull_request":{"url":"https://api.github.com/repos/mapbox/node-pre-gyp/pulls/181","id":48780633,"html_url":"https://github.com/mapbox/node-pre-gyp/pull/181","diff_url":"https://github.com/mapbox/node-pre-gyp/pull/181.diff","patch_url":"https://github.com/mapbox/node-pre-gyp/pull/181.patch","issue_url":"https://api.github.com/repos/mapbox/node-pre-gyp/issues/181","number":181,"state":"open","locked":false,"title":"skip validation for nw runtime","user":{"login":"fleg","id":875000,"avatar_url":"https://avatars.githubusercontent.com/u/875000?v=3","gravatar_id":"","url":"https://api.github.com/users/fleg","html_url":"https://github.com/fleg","followers_url":"https://api.github.com/users/fleg/followers","following_url":"https://api.github.com/users/fleg/following{/other_user}","gists_url":"https://api.github.com/users/fleg/gists{/gist_id}","starred_url":"https://api.github.com/users/fleg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fleg/subscriptions","organizations_url":"https://api.github.com/users/fleg/orgs","repos_url":"https://api.github.com/users/fleg/repos","events_url":"https://api.github.com/users/fleg/events{/privacy}","received_events_url":"https://api.github.com/users/fleg/received_events","type":"User","site_admin":false},"body":"Preamble: I create simple package for tests [node-pre-gyp-tests](https://github.com/fleg/node-pre-gyp-tests), under ubuntu I try install node-webkit win32 package, and got this error message:\r\n```\r\nfleg@home:~/js/node-pre-gyp-tests$ node-pre-gyp install --target=0.12.2 --target_platform=win32 --target_arch=ia32 --runtime=node-webkit\r\nnode-pre-gyp info it worked if it ends with ok\r\nnode-pre-gyp info using node-pre-gyp@0.6.13\r\nnode-pre-gyp info using node@0.10.37 | linux | x64\r\nnode-pre-gyp info check checked for \"/home/fleg/js/node-pre-gyp-tests/lib/binding/Release/node-webkit-v0.12.2-win32-ia32/TestPackage.node\" (not found)\r\nnode-pre-gyp http GET https://flegdev.ru/node-pre-gyp-tests/TestPackage/TestPackage-v0.0.1-node-webkit-v0.12.2-win32-ia32.tar.gz\r\nnode-pre-gyp http 200 https://flegdev.ru/node-pre-gyp-tests/TestPackage/TestPackage-v0.0.1-node-webkit-v0.12.2-win32-ia32.tar.gz\r\nnode-pre-gyp info install unpacking TestPackage.node\r\nnode-pre-gyp info install unpacking node_addon_example.node\r\nnode-pre-gyp info tarball done parsing tarball\r\nnode-pre-gyp info validate Running test command: 'nw /home/fleg/js/node-pre-gyp-tests/node_modules/node-pre-gyp/lib/util/nw-pre-gyp /home/fleg/js/node-pre-gyp-tests/lib/binding/Release/node-webkit-v0.12.2-win32-ia32/TestPackage.node'\r\nnode-pre-gyp info stderr\r\nnode-pre-gyp ERR! install error\r\nnode-pre-gyp ERR! stack Error: spawn ENOENT\r\nnode-pre-gyp ERR! stack     at errnoException (child_process.js:1011:11)\r\nnode-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:802:34)\r\nnode-pre-gyp ERR! System Linux 3.13.0-43-generic\r\nnode-pre-gyp ERR! command \"node\" \"/home/fleg/js/node-pre-gyp-tests/node_modules/.bin/node-pre-gyp\" \"install\" \"--target=0.12.2\" \"--target_platform=win32\" \"--target_arch=ia32\" \"--runtime=node-webkit\"\r\nnode-pre-gyp ERR! cwd /home/fleg/js/node-pre-gyp-tests\r\nnode-pre-gyp ERR! node -v v0.10.37\r\nnode-pre-gyp ERR! node-pre-gyp -v v0.6.13\r\nnode-pre-gyp ERR! not ok\r\nspawn ENOENT\r\n```\r\n\r\nSo, this fix just skip validation like for node runtime","created_at":"2015-10-26T18:46:30Z","updated_at":"2015-10-26T18:46:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mapbox/node-pre-gyp/pulls/181/commits","review_comments_url":"https://api.github.com/repos/mapbox/node-pre-gyp/pulls/181/comments","review_comment_url":"https://api.github.com/repos/mapbox/node-pre-gyp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mapbox/node-pre-gyp/issues/181/comments","statuses_url":"https://api.github.com/repos/mapbox/node-pre-gyp/statuses/f6f4ddbcf263f147e1a69cf6cdd8d45b9e603718","head":{"label":"fleg:master","ref":"master","sha":"f6f4ddbcf263f147e1a69cf6cdd8d45b9e603718","user":{"login":"fleg","id":875000,"avatar_url":"https://avatars.githubusercontent.com/u/875000?v=3","gravatar_id":"","url":"https://api.github.com/users/fleg","html_url":"https://github.com/fleg","followers_url":"https://api.github.com/users/fleg/followers","following_url":"https://api.github.com/users/fleg/following{/other_user}","gists_url":"https://api.github.com/users/fleg/gists{/gist_id}","starred_url":"https://api.github.com/users/fleg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fleg/subscriptions","organizations_url":"https://api.github.com/users/fleg/orgs","repos_url":"https://api.github.com/users/fleg/repos","events_url":"https://api.github.com/users/fleg/events{/privacy}","received_events_url":"https://api.github.com/users/fleg/received_events","type":"User","site_admin":false},"repo":{"id":44976025,"name":"node-pre-gyp","full_name":"fleg/node-pre-gyp","owner":{"login":"fleg","id":875000,"avatar_url":"https://avatars.githubusercontent.com/u/875000?v=3","gravatar_id":"","url":"https://api.github.com/users/fleg","html_url":"https://github.com/fleg","followers_url":"https://api.github.com/users/fleg/followers","following_url":"https://api.github.com/users/fleg/following{/other_user}","gists_url":"https://api.github.com/users/fleg/gists{/gist_id}","starred_url":"https://api.github.com/users/fleg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fleg/subscriptions","organizations_url":"https://api.github.com/users/fleg/orgs","repos_url":"https://api.github.com/users/fleg/repos","events_url":"https://api.github.com/users/fleg/events{/privacy}","received_events_url":"https://api.github.com/users/fleg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fleg/node-pre-gyp","description":"Node.js tool for easy binary deployment of C++ addons","fork":true,"url":"https://api.github.com/repos/fleg/node-pre-gyp","forks_url":"https://api.github.com/repos/fleg/node-pre-gyp/forks","keys_url":"https://api.github.com/repos/fleg/node-pre-gyp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fleg/node-pre-gyp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fleg/node-pre-gyp/teams","hooks_url":"https://api.github.com/repos/fleg/node-pre-gyp/hooks","issue_events_url":"https://api.github.com/repos/fleg/node-pre-gyp/issues/events{/number}","events_url":"https://api.github.com/repos/fleg/node-pre-gyp/events","assignees_url":"https://api.github.com/repos/fleg/node-pre-gyp/assignees{/user}","branches_url":"https://api.github.com/repos/fleg/node-pre-gyp/branches{/branch}","tags_url":"https://api.github.com/repos/fleg/node-pre-gyp/tags","blobs_url":"https://api.github.com/repos/fleg/node-pre-gyp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fleg/node-pre-gyp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fleg/node-pre-gyp/git/refs{/sha}","trees_url":"https://api.github.com/repos/fleg/node-pre-gyp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fleg/node-pre-gyp/statuses/{sha}","languages_url":"https://api.github.com/repos/fleg/node-pre-gyp/languages","stargazers_url":"https://api.github.com/repos/fleg/node-pre-gyp/stargazers","contributors_url":"https://api.github.com/repos/fleg/node-pre-gyp/contributors","subscribers_url":"https://api.github.com/repos/fleg/node-pre-gyp/subscribers","subscription_url":"https://api.github.com/repos/fleg/node-pre-gyp/subscription","commits_url":"https://api.github.com/repos/fleg/node-pre-gyp/commits{/sha}","git_commits_url":"https://api.github.com/repos/fleg/node-pre-gyp/git/commits{/sha}","comments_url":"https://api.github.com/repos/fleg/node-pre-gyp/comments{/number}","issue_comment_url":"https://api.github.com/repos/fleg/node-pre-gyp/issues/comments{/number}","contents_url":"https://api.github.com/repos/fleg/node-pre-gyp/contents/{+path}","compare_url":"https://api.github.com/repos/fleg/node-pre-gyp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fleg/node-pre-gyp/merges","archive_url":"https://api.github.com/repos/fleg/node-pre-gyp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fleg/node-pre-gyp/downloads","issues_url":"https://api.github.com/repos/fleg/node-pre-gyp/issues{/number}","pulls_url":"https://api.github.com/repos/fleg/node-pre-gyp/pulls{/number}","milestones_url":"https://api.github.com/repos/fleg/node-pre-gyp/milestones{/number}","notifications_url":"https://api.github.com/repos/fleg/node-pre-gyp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fleg/node-pre-gyp/labels{/name}","releases_url":"https://api.github.com/repos/fleg/node-pre-gyp/releases{/id}","created_at":"2015-10-26T15:03:07Z","updated_at":"2015-10-26T15:03:08Z","pushed_at":"2015-10-26T15:05:58Z","git_url":"git://github.com/fleg/node-pre-gyp.git","ssh_url":"git@github.com:fleg/node-pre-gyp.git","clone_url":"https://github.com/fleg/node-pre-gyp.git","svn_url":"https://github.com/fleg/node-pre-gyp","homepage":"","size":3590,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mapbox:master","ref":"master","sha":"b1fc640e8abeafee0eba40a14b44e48aa804136b","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":14812631,"name":"node-pre-gyp","full_name":"mapbox/node-pre-gyp","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/node-pre-gyp","description":"Node.js tool for easy binary deployment of C++ addons","fork":false,"url":"https://api.github.com/repos/mapbox/node-pre-gyp","forks_url":"https://api.github.com/repos/mapbox/node-pre-gyp/forks","keys_url":"https://api.github.com/repos/mapbox/node-pre-gyp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/node-pre-gyp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/node-pre-gyp/teams","hooks_url":"https://api.github.com/repos/mapbox/node-pre-gyp/hooks","issue_events_url":"https://api.github.com/repos/mapbox/node-pre-gyp/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/node-pre-gyp/events","assignees_url":"https://api.github.com/repos/mapbox/node-pre-gyp/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/node-pre-gyp/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/node-pre-gyp/tags","blobs_url":"https://api.github.com/repos/mapbox/node-pre-gyp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/node-pre-gyp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/node-pre-gyp/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/node-pre-gyp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/node-pre-gyp/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/node-pre-gyp/languages","stargazers_url":"https://api.github.com/repos/mapbox/node-pre-gyp/stargazers","contributors_url":"https://api.github.com/repos/mapbox/node-pre-gyp/contributors","subscribers_url":"https://api.github.com/repos/mapbox/node-pre-gyp/subscribers","subscription_url":"https://api.github.com/repos/mapbox/node-pre-gyp/subscription","commits_url":"https://api.github.com/repos/mapbox/node-pre-gyp/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/node-pre-gyp/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/node-pre-gyp/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/node-pre-gyp/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/node-pre-gyp/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/node-pre-gyp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/node-pre-gyp/merges","archive_url":"https://api.github.com/repos/mapbox/node-pre-gyp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/node-pre-gyp/downloads","issues_url":"https://api.github.com/repos/mapbox/node-pre-gyp/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/node-pre-gyp/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/node-pre-gyp/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/node-pre-gyp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/node-pre-gyp/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/node-pre-gyp/releases{/id}","created_at":"2013-11-30T00:18:15Z","updated_at":"2015-10-26T00:00:11Z","pushed_at":"2015-10-26T18:46:30Z","git_url":"git://github.com/mapbox/node-pre-gyp.git","ssh_url":"git@github.com:mapbox/node-pre-gyp.git","clone_url":"https://github.com/mapbox/node-pre-gyp.git","svn_url":"https://github.com/mapbox/node-pre-gyp","homepage":"","size":3590,"stargazers_count":199,"watchers_count":199,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":50,"mirror_url":null,"open_issues_count":37,"forks":50,"open_issues":37,"watchers":199,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mapbox/node-pre-gyp/pulls/181"},"html":{"href":"https://github.com/mapbox/node-pre-gyp/pull/181"},"issue":{"href":"https://api.github.com/repos/mapbox/node-pre-gyp/issues/181"},"comments":{"href":"https://api.github.com/repos/mapbox/node-pre-gyp/issues/181/comments"},"review_comments":{"href":"https://api.github.com/repos/mapbox/node-pre-gyp/pulls/181/comments"},"review_comment":{"href":"https://api.github.com/repos/mapbox/node-pre-gyp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mapbox/node-pre-gyp/pulls/181/commits"},"statuses":{"href":"https://api.github.com/repos/mapbox/node-pre-gyp/statuses/f6f4ddbcf263f147e1a69cf6cdd8d45b9e603718"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":9,"deletions":9,"changed_files":1}}