Skip to content

Service Worker registration failed: TypeError #1091

@Graquick

Description

@Graquick

Bug report

Packages affected

  • sandpack-client
  • sandpack-react

Description of the problem

image

What were you doing when the problem occurred?

Opening the browser with a Sandpack instance in the viewport view causes the error in my console (see screenshot above).

What steps can we take to reproduce the problem?

I implement two types of sandpack instances in my project: 1. Quickstart Presets, 2. Fully cusomized editor.
Both are implemented by following the official documentation.

Link to sandbox: link (optional)

Your Environment

Software Name/Version
Sandpack-client version
Sandpack-react version ^2.12.1
Browser Firefox, Chrome, Safari
Operating System macOS: Sonoma 14.3.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageNew issues that needs consideration

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions