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

Unable to open when specifying open.apps.chrome #239

Closed
joeattardi opened this issue Apr 1, 2021 · 1 comment · Fixed by #240
Closed

Unable to open when specifying open.apps.chrome #239

joeattardi opened this issue Apr 1, 2021 · 1 comment · Fixed by #240

Comments

@joeattardi
Copy link

I'm running macOS 10.15.7 and am having trouble with open.

A really simple test case for me is simply:

open('https://localhost', { app: { name: open.apps.chrome }});

Basically, nothing happens. I did some digging and debugging and the issue seems to be that the command open is trying to run:

open -a 'google chrome canary' 'https://localhost'

And my system is throwing the error:

Unable to find application named 'google chrome canary'

If I instead specify the app explicitly as just 'google chrome', it works.

Interestingly, this was working fine for me just yesterday and suddenly something is not working. Any ideas what the issue could be? Bad Chrome installation?

@sindresorhus
Copy link
Owner

// @Richienb

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

Successfully merging a pull request may close this issue.

2 participants