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

No captured browser #2

Open
mildfuzz opened this issue Jun 15, 2016 · 10 comments
Open

No captured browser #2

mildfuzz opened this issue Jun 15, 2016 · 10 comments

Comments

@mildfuzz
Copy link

Os X El Capitan
Node 6.2.1
Karma 0.13.22
Karma cli 1.0.0
Nodewebkit 0.11.6

When running karma start I get

15 06 2016 10:52:25.643:WARN [karma]: No captured browser, open http://localhost:9876/
15 06 2016 10:52:25.654:INFO [karma]: Karma v0.13.22 server started at http://localhost:9876/
15 06 2016 10:52:25.655:WARN [launcher]: Can not load "Script", it is not registered!
  Perhaps you are missing some plugin?

I have the correct path in my karma.conf.js

browsers: [
    '/Users/me/Workspace/Narma/bash-launcher.sh'
  ],
@mildfuzz
Copy link
Author

The same karma.conf and specs run and pass with PhantomJs as the selected browser.

@noamtcohen
Copy link
Owner

What happens when you run this command in the terminal?

/Users/me/Workspace/Narma/bash-launcher.sh https://www.google.com

@mildfuzz
Copy link
Author

Permission Denies

So then with sudo

command not found

then with sh instead of sudo

[10845:0615/121901:ERROR:breakpad_mac.mm(238)] Breakpad initializaiton
failed
[10846:0615/121901:ERROR:breakpad_mac.mm(238)] Breakpad initializaiton
failed
[10848:0615/121902:ERROR:breakpad_mac.mm(238)] Breakpad initializaiton
failed

On Wed, 15 Jun 2016 at 12:03 noamtcohen notifications@github.com wrote:

What happens when you run this command in the terminal?

/Users/me/Workspace/Narma/bash-launcher.sh https://www.google.com


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#2 (comment), or mute
the thread
https://github.com/notifications/unsubscribe/AAMAYavbggRceoA44bIu4-TdCLn53Z0Zks5qL9wEgaJpZM4I2L1V
.

@noamtcohen
Copy link
Owner

run:

sudo chmod +x /Users/me/Workspace/Narma/bash-launcher.sh
mkdir /Users/me/Workspace/Narma/test
/Users/me/Workspace/Narma/bash-launcher.sh https://www.google.com

@mildfuzz
Copy link
Author

[11319:0615/132744:ERROR:breakpad_mac.mm(238)] Breakpad initializaiton failed
[11320:0615/132744:ERROR:breakpad_mac.mm(238)] Breakpad initializaiton failed
[11321:0615/132745:ERROR:breakpad_mac.mm(238)] Breakpad initializaiton failed

@mildfuzz
Copy link
Author

mildfuzz commented Jun 15, 2016

same error :(

@noamtcohen
Copy link
Owner

Lets try to isolate the problem.

Create an empty directory and put bash-launcher.sh in it and create a test dir so that the directory looks like this:

NewTestDirectory
  - bash-launcher.sh
  - test

run:

cd NewTestDirectory
./bash-launcher.sh https://www.google.com

@noamtcohen
Copy link
Owner

I checked this and I'm getting the same output in the terminal but nodewebkit opens with google.com
Do you see nodewebkit with google.com?

@mildfuzz
Copy link
Author

Sorry, yes that does work, but the window does not come to the front. Same
is not true when I run Karma, sadly

On Wed, 15 Jun 2016 at 13:39 noamtcohen notifications@github.com wrote:

I checked this and I'm getting the same output in the terminal but
nodewebkit opens with google.com
Do you see nodewebkit with google.com?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#2 (comment), or mute
the thread
https://github.com/notifications/unsubscribe/AAMAYf4Hcv_nsTr6GCbplRoX3gLVqlM2ks5qL_JlgaJpZM4I2L1V
.

@noamtcohen
Copy link
Owner

noamtcohen commented Jun 15, 2016

I'm getting the same error for some reason, I guess it is some update to karma since I haven't used this project for a while.

I see that there is a NodeWebKit launcher on npm:
https://www.npmjs.com/package/karma-nodewebkit-launcher
https://www.npmjs.com/browse/keyword/karma-launcher

This should be a good alternative.
I don't have more time right now to look into this.

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

2 participants