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

option --browser=chrome not working #83

Open
nichoth opened this issue Oct 29, 2021 · 4 comments
Open

option --browser=chrome not working #83

nichoth opened this issue Oct 29, 2021 · 4 comments

Comments

@nichoth
Copy link

nichoth commented Oct 29, 2021

https://github.com/nichoth/wn-blob/blob/main/package.json

It returns 'no matches for chrome' even though chrome is installed

A test:

    "test": "browserify -d -p esmify test/index.js | tape-run --browser=\"chrome\" --render=\"tap-spec\""

results:

Error [ERR_UNHANDLED_ERROR]: Unhandled error. ('no matches for chrome/*')
    at new NodeError (node:internal/errors:371:5)
    at Stream.emit (node:events:383:17)
    at Stream.onerror (node:internal/streams/readable:773:14)
    at Stream.emit (node:events:406:35)
    at Stream.reemit (/Users/nick/code/wn-blob/node_modules/throughout/node_modules/duplexer/index.js:75:16)
    at Stream.emit (node:events:406:35)
    at /Users/nick/code/wn-blob/node_modules/browser-run/index.js:103:29
    at runRunner (/Users/nick/code/wn-blob/node_modules/browser-launcher/index.js:64:14)
    at /Users/nick/code/wn-blob/node_modules/browser-launcher/index.js:74:22
    at /Users/nick/code/wn-blob/node_modules/browser-launcher/index.js:47:22 {
  code: 'ERR_UNHANDLED_ERROR',
  context: 'no matches for chrome/*'
@nichoth nichoth changed the title option --chrome not working option --browser=chrome not working Oct 29, 2021
@juliangruber
Copy link
Collaborator

I assume that's on mac OS, right?

@juliangruber
Copy link
Collaborator

I can reproduce this on my mac

@juliangruber
Copy link
Collaborator

I think the fix is switching to https://github.com/juliangruber/just-launch, as browser-run has been unmaintained from time to time and with the new approach we can easily maintain individual browsers.

@andrewvmail
Copy link

rm -rf ~/.config/browser-launcher/config.json

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

3 participants