-
Notifications
You must be signed in to change notification settings - Fork 778
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
🐛 BUG: wrangler doesn't open edge when chrome isn't available #1445
Comments
This seems related to sindresorhus/open#272, and has to do with an internal bug with |
Created sindresorhus/open#289, hopefully it's a starting point to resolve the issue |
After not getting any feedback on sindresorhus/open#289, I'm going to put this back in the backlog |
One potential workaround for this would be to support an environment variable that allows the user to specify the requested chrome based browser binary, e.g.: DEVTOOLS_BROWSER=/usr/bin/chromium wrangler pages dev ... If this would be ok I can open a PR which adds support for it. That way any new browser or currently unsupported browser can be supported without adjusting the code. |
What version of
Wrangler
are you using?2.0.16
What operating system are you using?
Mac
Describe the Bug
I have Edge installed. I do not have chrome installed. When I hit
d
after starting upwrangler dev
, the devtools don't open. This is the code that should "work": https://github.com/cloudflare/wrangler2/blob/5b4d5a976a72e65149c883d2dbcb21f2125fc56e/packages/wrangler/src/inspect.ts#L646-L658The text was updated successfully, but these errors were encountered: