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.
https://localhost:3001
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