Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck on 'download binary for darwin-x64' in Node 0.11.13 #12

Closed
mgol opened this issue Jul 19, 2014 · 5 comments
Closed

Stuck on 'download binary for darwin-x64' in Node 0.11.13 #12

mgol opened this issue Jul 19, 2014 · 5 comments

Comments

@mgol
Copy link
Contributor

mgol commented Jul 19, 2014

Installation of the BrowserStack tunnel doesn't work for me in Node 0.11.13.

To reproduce, checkout https://github.com/jquery/sizzle/ and run:

npm install
grunt test

I get stuck forever on this:

(...)

Running "karma:phantom" (karma) task
INFO [karma]: Karma v0.12.17 server started at http://localhost:9876/
INFO [launcher]: Starting browser PhantomJS
INFO [PhantomJS 1.9.7 (Mac OS X)]: Connected on socket sW76nq4S25pzDSo1cxqd with id 7148958
WARN [PhantomJS 1.9.7 (Mac OS X)]: Adapter did not report total number of specs.
PhantomJS 1.9.7 (Mac OS X): Executed 35 of 0 SUCCESS (0.29 secs / 0.434 secs)

Running "karma:desktop" (karma) task
INFO [karma]: Karma v0.12.17 server started at http://localhost:9876/
BrowserStackTunnel: binary not present
INFO [launcher]: Starting browser chrome 34.0 (OS X Mavericks) on BrowserStack
INFO [launcher]: Starting browser chrome 35.0 (OS X Mavericks) on BrowserStack
INFO [launcher]: Starting browser firefox 17.0 (OS X Mavericks) on BrowserStack
INFO [launcher]: Starting browser firefox 24.0 (OS X Mavericks) on BrowserStack
INFO [launcher]: Starting browser firefox 28.0 (OS X Mavericks) on BrowserStack
INFO [launcher]: Starting browser firefox 29.0 (OS X Mavericks) on BrowserStack
INFO [launcher]: Starting browser ie 9.0 (Windows 7) on BrowserStack
INFO [launcher]: Starting browser ie 10.0 (Windows 8) on BrowserStack
INFO [launcher]: Starting browser ie 11.0 (Windows 8.1) on BrowserStack
INFO [launcher]: Starting browser opera 20.0 (OS X Mavericks) on BrowserStack
INFO [launcher]: Starting browser opera 21.0 (OS X Mavericks) on BrowserStack
INFO [launcher]: Starting browser safari 6.0 (OS X Lion) on BrowserStack
INFO [launcher]: Starting browser safari 6.1 (OS X Mountain Lion) on BrowserStack
INFO [launcher]: Starting browser safari 7.0 (OS X Mavericks) on BrowserStack
BrowserStackTunnel: download binary for darwin-x64 ...

Works fine in Node 0.10.29.

@mgol mgol changed the title Stuck on 'download binary for darwin-x64' Stuck on 'download binary for darwin-x64' in Node 0.11.13 Jul 19, 2014
@pghalliday
Copy link
Owner

Thanks, I will have to give it a try

@lucasfeliciano
Copy link

Did you downloaded the binary, double checked the path?
Because it is working for me here.

@mgol
Copy link
Contributor Author

mgol commented Oct 11, 2014

I can't reproduce it any more with Node 0.11.14. Closing.

@mgol mgol closed this as completed Oct 11, 2014
@scottopherson
Copy link

I'm running into this issue, though it's hard to reproduce because it happens intermittently.

It seems the close event doesn't get fired sometimes: https://github.com/pghalliday/node-BrowserStackTunnel/blob/master/src/ZipBinary.js#L21. It appears this may be a legitimate issue with the unzip library currently being used:

Given that the node-unzip project is not very active and that the streaming feature it provides is flawed it may be better to utilize an alternative library for unzipping. I haven't used it myself yet but yauzl seems to be popular.

@lucasfeliciano
Copy link

Thank you for let me know.
I'll look at it on Sunday, OK?
I'm super behind of the schedule on my roadmap so I have to work on
weekend.
:(
On qui, 20 de ago de 2015 at 22:58 Scott Christopherson <
notifications@github.com> wrote:

I'm running into this issue, though it's hard to reproduce because it
happens intermittently.

It seems the close event doesn't get fired sometimes:
https://github.com/pghalliday/node-BrowserStackTunnel/blob/master/src/ZipBinary.js#L21.
It appears this may be a legitimate issue with the unzip library
currently being used:

Given that the node-unzip project is not very active
EvanOxfeld/node-unzip#50 and that the
streaming feature it provides is flawed
https://github.com/thejoshwolfe/yauzl#no-streaming-unzip-api it may be
better to utilize an alternative library for unzipping. I haven't used it
myself yet but yauzl https://github.com/thejoshwolfe/yauzl seems to be
popular.


Reply to this email directly or view it on GitHub
#12 (comment)
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants