i am using idx, not flutter. its a next,js project and i do not want to waste my time posting bugs that wont be fixed
Pleas eexcuse me for being irrational⌠I will explain the problem i am facing: i clicked on download as a zip in google idx and then it opened a blank white page, giving me an error 404
ya, that sucks, , but i just tried in a test next.js, download no problem, file no zip, folder zip.
you using a vpn maybe?
no, but there are network restrictions on my laptop⌠should i try copying he download link and do it on another device?
Sorry to see that you are still having problems. Does this always happen for you? Or does it just happen for this particular project?
That you are not able to use git clone is also surprising. Does your DevTools Console show any errors when you try to download the zip or run git clone?
i am sorry, i did not add a message for commiting changes. but does this even matter? after entering a name, it worked.
you mean version control/syncing?, so you can download now?
no, i cant download using idx but i did copy the project to github and cloned it to my local machine. and yes i mean syncing.
Git does (afaik) require you to specify a message as part of each commit. This does bring up a good point around whether we can do more to make that more obvious.
Regarding the failed download, do file a bug here: issuetracker.google.com/issues/new?component=1379083&template=1836320 Weâll make sure it gets looked at.
I think that my laptopâs network restrictions is blocking the link.
Does your laptop prevent downloading of all zip files?
Still have same issue. I have to download files by one by.
Hi, thanks for bringing up the issue. Iâm not able to repro it on my end. Can you tell me more about how large is the folder you are downloading?
Just to confirm: can you try the app
folder in the angular template and see if it works? Also you are using the Zip and Download
command, right?
I just did zip -rT app.zip .
from project root, you can pass different options as you see fit (donât omit -r
though). Then I downloaded the resultant zip file with the GUI. Granted, you get a zip within a zip but at least you get the project!
This stackoverflow answer may also be useful.
How to Fix the File Download Issue in Project IDX on Google Cloud Workstations
If youâre facing an issue where the download button in Project IDX doesnât work (files donât download to your PC), itâs likely caused by cross-origin restrictions related to how the editor is hosted in an iframe within Google Cloud Workstations.
When you try to download a file from Project IDX, you might see this error in the browser console:
WARN SecurityError: Failed to execute 'showDirectoryPicker' on 'Window': Cross-origin subframes aren't allowed to show a file picker.
at j.i (workbench.web.main.js:2386:161902)
at async j.h (workbench.web.main.js:2386:161621)
This issue occurs because the IDX editor runs inside an iframe, and browser security policies prevent the file picker or download functionality from operating in cross-origin frames.
The Problem
-
IDX Editor Hosted in an iframe:
The IDX editor runs in an iframe in Google Cloud Workstations. The iframe URL is something like:For example, it could be:
https://idx-server-runner-front-1735724573958.cluster-mwrgkbggpvbq6tvtviraw2knqg.cloudworkstations.dev/ide-start?origin=https://idx.google.com
2.Open the url in the iframe and download the file/folder!
Example Video
psst. yes you can see its chatgpt edited
there is an option to download as zip, use that option
the download as zip function used to work but all of a sudden i get hit with error 404 and the download folder exist
I am having the same problem this morning. I have been using âZip and Downloadâ without issue for the past few weeks but get a 404 error now.
Me too. Any solution?
So far I have tried the classic âclear browsing data and restartâ to no effect. I can also confirm the error on two separate machines. Iâd say the evidence is pretty strong itâs not user error. Hopefully we will have a fix soon!