sandpack icon indicating copy to clipboard operation
sandpack copied to clipboard

Vite template crashes with status code 1

Open wesdimiceli opened this issue 2 years ago • 1 comments

Bug report

Packages affected

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

Description of the problem

The current example of the Vite template on the official site doesn't fully load. The preview shows an error and then displays a generic "Something went wrong" message.

Screenshot 2023-04-21 at 12 36 37 AM Screenshot 2023-04-21 at 12 48 34 AM

I confirmed I also get the same result with a very basic setup following the getting started instructions.

What were you doing when the problem occurred?

What steps can we take to reproduce the problem?

Browse to https://sandpack.codesandbox.io/docs/getting-started/usage and click the "Vite" button to try that preview template.

Link to sandbox: link

Your Environment

Software Name/Version
Sandpack-client version 2.6.0
Sandpack-react version 2.6.1
Browser Chrome 112.0.5615.121 (Official Build) (arm64)
Operating System macOS 13.3.1

wesdimiceli avatar Apr 21 '23 04:04 wesdimiceli

Can confirm the latest vite seems broken, will try looking into this today otherwise monday

DeMoorJasper avatar Apr 21 '23 12:04 DeMoorJasper