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

Service worker fails to register if using uBlock origin #32

Closed
domenic opened this issue Oct 17, 2018 · 2 comments
Closed

Service worker fails to register if using uBlock origin #32

domenic opened this issue Oct 17, 2018 · 2 comments
Labels
meta Issues involving the build process or the website itself, rather than its content

Comments

@domenic
Copy link

domenic commented Oct 17, 2018

workbox-sw.js:1 Unable to import module 'workbox-google-analytics' from 'https://storage.googleapis.com/workbox-cdn/releases/3.6.1/workbox-google-analytics.prod.js'.
loadModule @ workbox-sw.js:1
get @ workbox-sw.js:1
(anonymous) @ sw.js:1
workbox-sw.js:1

Uncaught 
loadModule @ workbox-sw.js:1
get @ workbox-sw.js:1
(anonymous) @ sw.js:1

(index):1 Uncaught (in promise) TypeError: Failed to register a ServiceWorker: ServiceWorker script evaluation failed

Might be more of a workbox issue, but seems bad.

@mathiasbynens
Copy link
Member

This seems to be GoogleChrome/workbox#1186 + GoogleChrome/workbox#1646. I’ll leave this issue open as a reminder to update our Workbox version once this is fixed upstream.

@mathiasbynens mathiasbynens added the meta Issues involving the build process or the website itself, rather than its content label Oct 17, 2018
@jeffposnick
Copy link
Contributor

Yup. You can move to 4.0.0-alpha.0 if you want to do something now, and pick up the renamed scripts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta Issues involving the build process or the website itself, rather than its content
Projects
None yet
Development

No branches or pull requests

3 participants