sandpack
sandpack copied to clipboard
Service Worker registration failed: TypeError
Bug report
Packages affected
- [ ] sandpack-client
- [x] sandpack-react
Description of the problem
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 |
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)
It has been fixed in the latest version. Sorry for the long wait!
Awesome! Thanks!