Skip to content

Service worker error: Cannot read properties of undefined (reading 'stale') #2

@lberki

Description

@lberki

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions