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

readme example for local browsers hanging #38

Closed
davidtheclark opened this issue Feb 19, 2015 · 1 comment
Closed

readme example for local browsers hanging #38

davidtheclark opened this issue Feb 19, 2015 · 1 comment

Comments

@davidtheclark
Copy link

If I run the following script:

var launchpad = require('launchpad');

launchpad.local(function(err, local) {
    console.log('launchpad.local callback');
    if (err) { throw err; }
    local.browsers(function(err2, browsers) {
        console.log('local.browsers callback');
        if (err2) { throw err2; }
        console.log(browsers);
    });
});

... my console output is launchpad.local callback and then nothing happens.

I think this is following the example in the readme properly. Am I missing something, or is this a bug?

@daffl
Copy link
Contributor

daffl commented Oct 14, 2015

Sorry I somehow missed this issue. You can set the DEBUG=launchpad:* environment variable to get more information on what it is trying to do while discovering the browsers.

I'm closing the issue since it has been around for a while. Please reopen if you have more information.

@daffl daffl closed this as completed Oct 14, 2015
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