The Joplin version with which I am working is v2.5.12 and my os is window 10. I am facing some warnings while running npm install. So, I want to ask what npm version has been used in the project?
Maybe post the warnings/errors you are getting?
7.24.0 is working fine for me.
You might also want to check here in case your issue is listed:
# 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:
```batch
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`.
This file has been truncated. show original
system
Closed
4 January 2022 09:01
3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.