codesandbox / codesandbox-client

An online IDE for rapid web development
https://codesandbox.io
Other
12.96k stars 2.26k forks source link

Download Sandbox is a Zip export is empty folder of 0kb #8328

Open sangrepura opened 4 months ago

sangrepura commented 4 months ago

🐛 bug report

Preflight Checklist

Description of the problem

I tried exporting it to zip for a local copy, the download is a 0kb empty zip file.

How has this issue affected you? What are you trying to accomplish?

Not able to download a local copy of the code.

To Reproduce

Click download sandbox from menu

Link to sandbox: [link]() (optional)

https://codesandbox.io/p/sandbox/github/j1yang/three-js/tree/main/react-lip-peas-n-carrots?file=%2Fsrc%2Fcomponents%2FMyAvatar.js

Your Environment

Software Name/Version
Сodesandbox latest, browser based
Browser Chrome
Operating System Windows 11
CompuIves commented 4 months ago

Hello! I tried downloading the sandbox using the link you provided, and that worked for me. Did the sandbox maybe change recently?

ianmcl commented 4 months ago

Same empty zip issue on Windows 11 in Chrome, Edge and Firefox.

sangrepura commented 4 months ago

The UI

Hello! I tried downloading the sandbox using the link you provided, and that worked for me. Did the sandbox maybe change recently?

What OS/browser combination did you use? It would be nice if we could just clone via git .

kautilyadevaraj commented 3 weeks ago

I was facing the same issue and then i forked it before trying to install all the files which fixed the issue. Turns out we need to first create a local repository and then download it. So just click on the fork button and then download it.

Malla-h commented 2 weeks ago

Even after forking the result is still an empty zip file for me. I'm on Windows 10. Tested on Chrome, Firefox and Edge.

ndrjr commented 6 days ago

Same issue persists still