Skip to content
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

Firefox injectManifest not working #122

Closed
Flashantik opened this issue Mar 18, 2024 · 1 comment
Closed

Firefox injectManifest not working #122

Flashantik opened this issue Mar 18, 2024 · 1 comment

Comments

@Flashantik
Copy link

Starting Playground with run dev-sw (with injectManifest) The service worker is not installed, there is also an error in $pwa.registrationError. No error in console, just $pwa.registrationError
Screenshot 2024-03-18 at 15 53 50

run dev works fine.
Screenshot 2024-03-18 at 15 52 48

in chrome and safari run dev-sw works fine too

@userquin
Copy link
Member

userquin commented Mar 18, 2024

You cannot register any service worker with type module in non chromium based browsers, to test the sw in dev you need chrome/chromium/edge.

EDIT: you can change all static imports in your sw using importScripts

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

No branches or pull requests

2 participants