Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Development in firefox instruction #8

Closed
PushpenderSaini0 opened this issue Jun 10, 2023 · 5 comments · Fixed by #9
Closed

Development in firefox instruction #8

PushpenderSaini0 opened this issue Jun 10, 2023 · 5 comments · Fixed by #9
Assignees

Comments

@PushpenderSaini0
Copy link
Contributor

I was having trouble running this in dev mode in firefox.
Loading worker.js will fail with SyntaxError: import declarations may only appear at top level of a module

This is because firefox does not support worker modules by default

Fix / Workaround

If you wish to run this in dev mode in firefox
you will have to enable it manually via about:config and set dom.workers.modules.enabled to true

This was added in firefox111 if you have older version this may not work

@PushpenderSaini0
Copy link
Contributor Author

Add this in README.md for people using firefox.
You can assign it to me, and I can raise a PR.

@xenova
Copy link
Owner

xenova commented Jun 10, 2023

Just to clarify, you mean you are unable to run the dev server (using npm run dev)? I have tested the demo app in Firefox and it does seem to work.

Is this perhaps a known issue with vite's development mode?

Edit: Re-reading your issue, are you referring to "Firefox Developer Edition"?

@PushpenderSaini0
Copy link
Contributor Author

Yes , you won't be able to run the app in firefox when using the command npm run dev but it will run fine once it's build.

No i am not referring to "Firefox Developer Edition"

@xenova
Copy link
Owner

xenova commented Jun 10, 2023

Okay I see, thanks for pointing that out! I just tested and you're right. 👍 Please feel free to make a PR with the note under step 2.

@max12354
Copy link

max12354 commented Oct 4, 2024

can we run whisper-large-v3-turbo

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants