Joplin version: 1.7.11
Platform: Windows & Linux (Arch)
OS specifics: x64 bit
Steps to reproduce
git clone source
I tried removing the spaces and also moving to a new directory with no spaces, as suggested by
@roman_r_m @JackGruber and on previous topics related to build errors. But it still fails to build the source.
cmd error - Pastebin.com --> cmd error output
2021-03-25T17_32_46_537Z-debug.log - Pastebin.com --> 2021-03-25T17_32_46_537Z-debug.log
2021-03-25T17_32_47_524Z-debug.log - Pastebin.com --> 2021-03-25T17_32_47_524Z-debug.log
Or try installing windows build tools like this
npm install --global windows-build-tools --vs2015
Yes! this worked. Although initially I had removed node completely and re-installed, but pretty sure this was the issue.
Just in case...
This file has been truncated.
# Desktop application
## On Windows
If `yarn dist` fails, it may need administrative rights.
If you get an `error MSB8020: The build tools for v140 cannot be found.` try to run with a different toolset version, eg `npm install --toolset=v141` (See [here](https://github.com/mapbox/node-sqlite3/issues/1124) for more info). You may also try to install `npm --vs2015 install --global windows-build-tools` (the --vs2015 flag is to get toolkit "v140", which is what is used by default).
There are various errors that can occur from an improper build environment (such as MSBUILD: error MSB3428). It is recommended to install `windows-build-tools` with the command `npm install --global windows-build-tools` (elevation required) and then using these two commands to set the environmental variables to the proper values:
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsamd64_x86.bat"
set "PATH=C:\Program Files\nodejs;%PATH%"
## On Linux and macOS
If there's an error `while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory`, run `sudo apt-get install libgconf-2-4`
If you get a node-gyp related error, you might need to manually install it: `npm install -g node-gyp`.
joplin/BUILD.md at dev · laurent22/joplin · GitHub)
yes, I had found it later today. But it still wont build on Arch, after searching a bit, found out it could be an issue with the packages and official support wouldn't be there, I guess according another article I read. So I'll continue with windows
The link is just for reference. If you have a problem that isn't fixed by any of the solutions in the troubleshooting file, we should update it accordingly.
Although I hoped people would just open PRs with their solutions along the way...
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.