sandpack icon indicating copy to clipboard operation
sandpack copied to clipboard

Service Worker registration failed: TypeError

Open Graquick opened this issue 1 year ago • 1 comments

Bug report

Packages affected

  • [ ] sandpack-client
  • [x] 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 avatar Feb 25 '24 17:02 Graquick

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

vernak2539 avatar Mar 12 '24 12:03 vernak2539

It has been fixed in the latest version. Sorry for the long wait!

danilowoz avatar Jul 03 '24 13:07 danilowoz

Awesome! Thanks!

Graquick avatar Jul 04 '24 07:07 Graquick