Issues with the "Building the Zotero Desktop App on Windows" wiki page
There are multiple issues with instructions for building Zotero on Windows ("Building the Zotero Desktop App on Windows", https://www.zotero.org/support/dev/client_coding/building_the_desktop_app_windows_notes).
Since editing wiki pages necessitates a separate account, I am planning to post issues/solutions in this thread, unless instructed otherwise.
Item #1 - instruction related to required Cygwin packages:
Suggest adding "xxd" editor to the list of explicitly specified required packages. Perhaps, also add "xxd" check to the "app/scripts/check_requirements" script.
Since editing wiki pages necessitates a separate account, I am planning to post issues/solutions in this thread, unless instructed otherwise.
Item #1 - instruction related to required Cygwin packages:
Suggest adding "xxd" editor to the list of explicitly specified required packages. Perhaps, also add "xxd" check to the "app/scripts/check_requirements" script.
Regardless, I managed to get it to work with Cygwin (but not MSYS2). A major issue with Cygwin was that Node on Windows defaults to spawning child processes via cmd.exe, failing the build process due to incompatibility issues. Additional configuration needs to be set in the Cygwin shell (using actual location of bash):
npm config set script-shell "C:\cygwin\bin\bash.exe"
to instruct Node not use cmd.exe.