codesandbox / sandpack

A component toolkit for creating live-running code editing experiences, using the power of CodeSandbox.
https://sandpack.codesandbox.io
Apache License 2.0
4.95k stars 354 forks source link

Vite template crashes with status code 1 #912

Open wesdimiceli opened 1 year ago

wesdimiceli commented 1 year ago

Bug report

Packages affected

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
DeMoorJasper commented 1 year ago

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