Closed hugoender closed 2 years ago
Was able to use a Raspberry Pi to follow the steps up until and including npm run app:build:web
. It worked fine on the Raspberry Pi and so I transferred the release
directory it created to my windows machine and continued with the process. When I got to the last step and sent npm run electron:package:$TARGET_PKG:consumer
I got the following Error:
We don't support Windows for building Threema Web. If you want to build Threema Web on Windows, use WSL.
Also, your issue seems to be about Threema Desktop, not Threema Web?
Your issue might be that you forgot to clone recursively? Try git submodule init
followed by git submodule update
. If that doesn't help, please contact the support as suggested here: https://github.com/threema-ch/threema-web-electron#bug-reports-and-feature-requests
This issue is indeed about Threema Desktop but the Desktop repo didn't have an Issues section and I didn't want to create yet another forum account so figured this was the next beset thing. Thank you for the suggestions. Will try WSL.
Using Ubuntu WSL worked great! Thank you!
Bug Description
Build instructions on Threema Github do not work for Windows 10.
If you try to use the
export
command, you get the following error: 'export' is not recognized as an internal or external command, operable program or batch file.If you ignore the export steps or use git-bash to allow you to use
export
the next issue you run into is thatnpm run app:build:web
does not seem to create theapp/dependencies/threema-web/release
directory that it needs to create for the next step to work. So when you send./tools/patches/post-patch-threema-web.sh
it gives the following error:./tools/patches/post-patch-threema-web.sh: line 10: cd: app/dependencies/threema-web/release/threema-web-2.4.1/: No such file or directory
Please update the build instructions to include Windows specific instructions.
Steps to Reproduce (for bugs)
export DEV_ENV=development
. You will get the first error.npm run app:build:web
app/dependencies/threema-web/release
and notice that it's not there../tools/patches/post-patch-threema-web.sh
and get the second error stating the directory is missing.Your Environment