You may have run into this issue where you are attempting to Download a ZIP file of your Experience Builder Developer Project.
The download process spawns a Loading Page with a spinning wheel.
After waiting for a while, you get this error message:
So you attempt to Download the ZIP file a second time.
You get this new error message:
Not Found
How do you proceed?
I have found a way get around this issue which works most of the time.
You can manually assemble the necessary files by following the steps in the included PDF.
Best regards,
David Das
Solved! Go to Solution.
@MarcelŠíp Thanks a lot! I use Gavins's script many times every day (by cmd file) and it works fantastic.
I did some more investigation on the issue of the Download failing with EXB 1.12.
In my previous post I presented a possible workaround on using EXB 1.12 with Node.js 14.21.3.
I looked at the ESRI documentation and found that Node.js version 16.20.1 is recommended.
https://developers.arcgis.com/experience-builder/guide/release-versions/
Downloaded Node.js version 16.20.1 (Gallium) from:
https://nodejs.org/en/download/releases
Selected Releases for Node.js 16.20.1 Gallium.
https://nodejs.org/download/release/v16.20.1/
Downloaded the file:
Node-v16.20.1-x64.msi
Installed Node.js 16.20.1
Ran a complete installation of the Node.js Server and Client processes and started Node.js.
Launched the Experience Builder Dev Edition 1.12 in Chrome.
Attempted to download the ZIP file.
Kept refreshing the server\temp folder to monitor the files being written.
C:\DAVID\EXB\EXB13\server\temp\13\cdn\1
Kept refreshing this folder.
The themes folder was created.
Then the widgets folder was created.
C:\DAVID\EXB\EXB13\server\temp\13\cdn\1
Finally, the resources folder got created followed by the all-important config.json file.
Essentially, all the necessary files were written at this point.
The ZIP file should have been created and the process should have stopped.
C:\DAVID\EXB\EXB13\server\temp\13\cdn\1
However, the process hung.
I received this error message.
Not found
Most of the files and folders started to get deleted.
I was left with only these.
C:\DAVID\EXB\EXB13\server\temp\13\cdn\1
This means upgrading Node.js from 14.21.3 (Fermium) to Node.js 16.20.1 (Gallium) did not resolve the issue with downloading ZIP files.
The workaround is to monitor the server\temp folder and stop the process as soon as it finishes writing the widgets folder and manually assemble the missing files as I have explained in my previous post.
If someone has found a better solution, please share.
Best regards,
David
I had not experienced this problem until today. Then, I realized I was not running my terminal in admin mode. When I restarted my server with my terminal in admin load. It downloaded without issue.
Attempting to download in regular mode produces the following terminal error:
Hi Jeffrey,
Thanks so much for sharing the issues you are having downloading the ZIP file in Experience Builder Developer Edition 1.12.
I upgraded to Windows 11 Enterprise, Version 22H2 and still getting similar error messages while running the download process.
We need to resolve this issue.
You are one of the most experienced developers in our Community.
Hoping you can help to figure out a reliable workaround.
Hi Jeffrey,
I opened a Command Window as Administrator and started the npm server process.
When I attempted to download the ZIP File, I got this error message:
Not Found
The failed process left these temporary files:
C:\DAVID\EXB\EXB15\server\temp\7\cdn\1
I am using EXB Dev Edition 1.12
Node.js version 14.21.3
Windows 11 Enterprise, 22H2
I hope we can figure out a reliable way to download the ZIP file without having to manually assemble the required files and folders.
A few things to try:
For those who are concerned about having to "manually reassemble" files as noted in the PDF, I've found that if I end the process once the json is written, there's nothing missing for me. The app works when uploaded for me at that point.
I have tried multiple potential solutions and not found a way to get the download process to correctly complete without errors using Dev Ed 1.13 on Windows 11, irrespective of Node.js version.
Hi, I had the same problem with ExB developers edition 1.13. I could not make it work properly on windows but running Experience builder on Ubuntu (in a virtual machine) worked for me.
Something that worked for me today in Windows 11 w/ EXB 1.13 and Node.JS 16.20.1:
After turning off almost all of my antivirus/firewall protection, I started the server in Windows Powershell rather than the normal command prompt. Then, I was able to successfully download an app using Chrome. Everything was properly zipped, and I didn't get any error messages - just deprecation warnings.
After 1.13 working without error for a number of days, I began to struggle with this today. I tried a fresh download (no custom widgets), new user, new appID, default APP, Admin cmd, PowerShell, cleared cache, reboot... all with the same result. I opened a case with Esri and got the typical non response. Then someone put me onto this thread. I appreciate the PDF. Grabbing the compiled application during the spinning wheel seemed to be the only things that worked. It took a few tries to get the timing down. but I am able to publish much needed updates now.
It's a workaround, but .. Come on...