extension-js / extension.js

🧩 The cross-browser extension framework.
https://extension.js.org
MIT License
3.79k stars 95 forks source link

Can't find the browser path even providing the full path #209

Open quazar-omega opened 1 month ago

quazar-omega commented 1 month ago

I ran this command:

bun run dev --gecko-binary $(which firefox)

and I get this as output:

$ extension dev --gecko-binary /usr/bin/firefox

 🧩 Extension.js 2.0.0-beta.1
    Extension Name         Default Extension
    Extension Version      1.0
    Extension ID           default-extension@extension-js

►►► Default Extension compiled successfully in 926 ms.
ERROR in Firefox ✖︎✖︎✖︎ Can't find the browser path

Either install the missing browser or choose a different one via --browser flag.
NOT FOUND npm exec fx-runner
error: script "dev" exited with code 1

It says it can't find my browser, but the launch script for firefox is working correctly as far as I can tell:

$(which firefox) --version
Mozilla Firefox 130.0.1

What should I do here?

Other contextual information:

cezaraugusto commented 1 month ago

@quazar-omega thanks for reporting! on it

quazar-omega commented 1 month ago

Thank you for looking into this, let me know if you need more troubleshooting info! :)