aklinker1 / vite-plugin-web-extension

Vite plugin for developing Chrome/Web Extensions
https://vite-plugin-web-extension.aklinker1.io/
MIT License
653 stars 58 forks source link

No chrome installations found #209

Closed TomasRas closed 2 months ago

TomasRas commented 2 months ago

Summary

Starting Vite i`am getting error 'No Chrome installations found.' but it is there.

Reproduction

run vite dev

Environment

Wn 11


Paste output here
```at async ChromiumExtensionRunner.run (file:///C:/my-projects/browser-assistant/browser-assistant/node_modules/web-ext-run/lib/extension-runners/chromium.js:55:5)
    at async Promise.all (index 0)
    at async MultiExtensionRunner.run (file:///C:/my-projects/browser-assistant/browser-assistant/node_modules/web-ext-run/lib/extension-runners/index.js:67:5)
    at async run (file:///C:/my-projects/browser-assistant/browser-assistant/node_modules/web-ext-run/lib/cmd/run.js:182:3)
    at async Object.openBrowser (file:///C:/my-projects/browser-assistant/browser-assistant/node_modules/vite-plugin-web-extension/dist/index.js:886:16)
    at async openBrowser (file:///C:/my-projects/browser-assistant/browser-assistant/node_modules/vite-plugin-web-extension/dist/index.js:1151:5)
    at async buildExtension (file:///C:/my-projects/browser-assistant/browser-assistant/node_modules/vite-plugin-web-extension/dist/index.js:1190:7) {
  message: 'No Chrome installations found.',
  code: 'ERR_LAUNCHER_NOT_INSTALLED'
aklinker1 commented 2 months ago

See https://vite-plugin-web-extension.aklinker1.io/guide/configure-browser-startup.html

Provide the path to the chrome binary under chromiumBinary