{"action":"created","issue":{"url":"https://api.github.com/repos/sass/node-sass/issues/639","labels_url":"https://api.github.com/repos/sass/node-sass/issues/639/labels{/name}","comments_url":"https://api.github.com/repos/sass/node-sass/issues/639/comments","events_url":"https://api.github.com/repos/sass/node-sass/issues/639/events","html_url":"https://github.com/sass/node-sass/issues/639","id":55407608,"number":639,"title":"NPM install fails with ECONNREFUSED","user":{"login":"Turbo87","id":141300,"avatar_url":"https://avatars.githubusercontent.com/u/141300?v=3","gravatar_id":"","url":"https://api.github.com/users/Turbo87","html_url":"https://github.com/Turbo87","followers_url":"https://api.github.com/users/Turbo87/followers","following_url":"https://api.github.com/users/Turbo87/following{/other_user}","gists_url":"https://api.github.com/users/Turbo87/gists{/gist_id}","starred_url":"https://api.github.com/users/Turbo87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Turbo87/subscriptions","organizations_url":"https://api.github.com/users/Turbo87/orgs","repos_url":"https://api.github.com/users/Turbo87/repos","events_url":"https://api.github.com/users/Turbo87/events{/privacy}","received_events_url":"https://api.github.com/users/Turbo87/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-25T09:45:53Z","updated_at":"2015-01-26T12:42:19Z","closed_at":"2015-01-26T12:42:19Z","body":"when I try to install this package via NPM on OSX the `install.js` fails to download the `binding.node` file:\r\n\r\n```\r\nnpm info it worked if it ends with ok\r\nnpm info using npm@2.1.18\r\nnpm info using node@v0.10.35\r\nnpm info preinstall node-sass@2.0.0-beta\r\nnpm info build /Users/tbn/Code/viessmann-grisu/node_modules/node-sass\r\nnpm info linkStuff node-sass@2.0.0-beta\r\nnpm info install node-sass@2.0.0-beta\r\n\r\n> node-sass@2.0.0-beta install /Users/tbn/Code/viessmann-grisu/node_modules/node-sass\r\n> node scripts/install.js\r\n\r\ntunneling socket could not be established, cause=connect ECONNREFUSED\r\ntunneling socket could not be established, cause=connect ECONNREFUSED\r\nfs: missing callback Error: ENOENT, unlink '/Users/tbn/Code/viessmann-grisu/node_modules/node-sass/vendor/darwin-x64/binding.node'\r\nnpm info postinstall node-sass@2.0.0-beta\r\n\r\n> node-sass@2.0.0-beta postinstall /Users/tbn/Code/viessmann-grisu/node_modules/node-sass\r\n> node scripts/build.js\r\n\r\nnpm info prepublish node-sass@2.0.0-beta\r\nnpm info ok\r\n```\r\n\r\nthe requested file is https://raw.githubusercontent.com/sass/node-sass-binaries/v2.0.0-beta/darwin-x64/binding.node and that does seem to exist. I have no idea why this doesn't seem to work properly.\r\n\r\nAlso once the download fails the `exists()` method in `install.js` will return `true` even though the file doesn't exist because it only checks for the existance of the folder, but not the binding file."},"comment":{"url":"https://api.github.com/repos/sass/node-sass/issues/comments/71455064","html_url":"https://github.com/sass/node-sass/issues/639#issuecomment-71455064","issue_url":"https://api.github.com/repos/sass/node-sass/issues/639","id":71455064,"user":{"login":"am11","id":3840695,"avatar_url":"https://avatars.githubusercontent.com/u/3840695?v=3","gravatar_id":"","url":"https://api.github.com/users/am11","html_url":"https://github.com/am11","followers_url":"https://api.github.com/users/am11/followers","following_url":"https://api.github.com/users/am11/following{/other_user}","gists_url":"https://api.github.com/users/am11/gists{/gist_id}","starred_url":"https://api.github.com/users/am11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/am11/subscriptions","organizations_url":"https://api.github.com/users/am11/orgs","repos_url":"https://api.github.com/users/am11/repos","events_url":"https://api.github.com/users/am11/events{/privacy}","received_events_url":"https://api.github.com/users/am11/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T12:42:19Z","updated_at":"2015-01-26T12:42:19Z","body":"@Turbo87, see https://github.com/sass/node-sass/issues/602. We are working towards the 2.0.0 stable release.\r\n\r\nAs you mentioned, this issue is fixed. Lets follow the progress on vNext at #602."}}