Skip to content

Firefox dev build service worker crash #356

@ajlende

Description

@ajlende

Description

I didn't see any issues with the service worker script, but it crashes on registration.

Error

TypeError: ServiceWorker script at http://127.0.0.1:5400/service-worker.ts?type=module&worker_file for scope http://127.0.0.1:5400/ threw an exception during script evaluation.

Steps to reproduce

  1. Regular development workflow (npm install && npm run dev)
  2. Open the site
  3. See the generic error page

Versions

Playground: f5f9d057a34f3870788257f815bd1cfb21d81326
Browser: Firefox Developer Edition 131.0b4 (aarch64), Firefox 130.0.1 (64-bit)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions