You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the firefoxdeveloperedition alias for the -f option results in an attempt to launch a binary within /Applications/FirefoxDeveloperEdition.app rather than /Applications/Firefox Developer Edition.app, which fails (error below).
It looks like web-ext delegates alias resolution to node-fx-runner. I have filed a corresponding issue against node-fx-runner, but thought it was worth noting here as well because the alias is explicitly documented by web-ext.
As noted in the node-fx-runner issue, there are a couple of ways it attempts to resolve this alias, and they all appear to fail. I've worked around it, but it may be worth fixing OR at least removing from the documented set of options. I'm happy to do the work in web-ext or node-fx-runner.
Reproduction
Install Firefox Developer Edition from the official download location on macOS.
Command:
web-ext -f firefoxdeveloperedition run
Output:
Running web extension from /Users/watters/Dropbox/code/birdcage/dist
Error: spawn /Applications/FirefoxDeveloperEdition.app/Contents/MacOS/firefox-bin ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19)
at onErrorNT (internal/child_process.js:469:16)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
What is the expected or desired behavior?
The expected behavior is that Firefox Developer Edition would be launched.
Is this a feature request or a bug?
A bug.
What is the current behavior?
Using the
firefoxdeveloperedition
alias for the-f
option results in an attempt to launch a binary within/Applications/FirefoxDeveloperEdition.app
rather than/Applications/Firefox Developer Edition.app
, which fails (error below).It looks like
web-ext
delegates alias resolution tonode-fx-runner
. I have filed a corresponding issue againstnode-fx-runner
, but thought it was worth noting here as well because the alias is explicitly documented byweb-ext
.As noted in the
node-fx-runner
issue, there are a couple of ways it attempts to resolve this alias, and they all appear to fail. I've worked around it, but it may be worth fixing OR at least removing from the documented set of options. I'm happy to do the work inweb-ext
ornode-fx-runner
.Reproduction
Install Firefox Developer Edition from the official download location on macOS.
Command:
web-ext -f firefoxdeveloperedition run
Output:
What is the expected or desired behavior?
The expected behavior is that Firefox Developer Edition would be launched.
Version information (for bug reports)
The text was updated successfully, but these errors were encountered: