FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Service Worker not defined while accessing PWA in development · Issue #3834 · coder/code-server · GitHub

Service Worker not defined while accessing PWA in development #3834

Description

As first reported in a PR by @cuining, this regression seems to be introduced in the move away from Parcel.

I believe this may be addressed in #3833, but some more information is still needed.

OS/Web Information

  • Web Browser: Chrome
  • Local OS: macOS
  • Remote OS: macOS
  • Remote Architecture: 64 bit
  • code-server --version: 3.11.0

Steps to Reproduce

  1. Start code-server via yarn watch
  2. Open in Chrome, add a PWA shortcut
  3. Refresh

Expected

No console errors should occur.

Actual

Service worker registration fails due to an invalid path. However, the file is available at an different path.

Screenshot

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghigh-priorityThis issue needs to be resolved ASAP

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL