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 error: Cannot read properties of undefined (reading 'stale') #2

Open
lberki opened this issue Mar 30, 2022 · 0 comments

Comments

@lberki
Copy link
Owner

lberki commented Mar 30, 2022

My guess: the if statement in service_worker.js:105 falls through, even through it should not.

Full trace:

service-worker.js:65 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'stale')
    at service-worker.js:65:27
    at Generator.next (<anonymous>)
    at Function.continuer (service-worker.js:150:31)
    at spawn (service-worker.js:163:10)
    at fetchEvent2 (service-worker.js:59:17)
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

1 participant