sandpack icon indicating copy to clipboard operation
sandpack copied to clipboard

Broken example with Sandpack Console

Open hariria opened this issue 3 months ago • 1 comments

Bug report

The embedded sandpack component in the sandpack docs is broken: https://sandpack.codesandbox.io/docs/advanced-usage/components#usage-1

Screenshot 2024-05-02 at 1 06 40 PM

Packages affected

  • [ ] sandpack-client
  • [x] sandpack-react

Description of the problem

Error: Failed to register a ServiceWorker for scope ('https://2-13-8-sandpack.codesandbox.io/') with script ('https://2-13-8-sandpack.codesandbox.io/csb-sw.js'): The script has an unsupported MIME type ('text/html').

What were you doing when the problem occurred?

Reading the docs

What steps can we take to reproduce the problem?

https://sandpack.codesandbox.io/docs/advanced-usage/components#usage-1

Link to sandbox: link (optional)

Your Environment

Software Name/Version
Sandpack-client version
Sandpack-react version
Browser Chrome
Operating System MacOS Sonoma

hariria avatar May 02 '24 20:05 hariria