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 registration failed: TypeError #1091

Open
1 of 2 tasks
Graquick opened this issue Feb 25, 2024 · 1 comment
Open
1 of 2 tasks

Service Worker registration failed: TypeError #1091

Graquick opened this issue Feb 25, 2024 · 1 comment
Labels
bug Something isn't working triage New issues that needs consideration

Comments

@Graquick
Copy link

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
@Graquick Graquick added bug Something isn't working triage New issues that needs consideration labels Feb 25, 2024
@vernak2539
Copy link

Having the same problem. Here's my details.

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

Only happened after upgrading. Functionality still works, but error is displayed. Can see it here. Codebase is here (astro)

Screenshot 2024-03-12 at 12 50 15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage New issues that needs consideration
Projects
None yet
Development

No branches or pull requests

2 participants