I got bunch of errors on my terminal, am using windows 10
the last few lines of the error message are:
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! joplin@1.0.0 postinstall: cd ReactNativeClient && npm i && cd .. && cd ElectronClient && npm i && cd .. && cd CliClient && npm i && cd .. && gulp build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the joplin@1.0.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Master branch was doing the same thing for me on Linux earlier. Anyone have any suggestions on how to fix it there since the fix above wouldn’t work there?
@rishabh.malhotra, thanks for checking but I guess it would need to be tested on a system where the tools are not already installed globally, to check that it’s indeed using the ones in package.json. But I see that the author of wbt recommends against putting this in devDependencies so I guess we should avoid it too: https://github.com/felixrieseberg/windows-build-tools/issues/166
Perhaps we should however added in BUILD.md that the wbt should be installed on Windows.
Oh that’s right, I always forget that rsync is not default everywhere. I’m using it to copy files because it’s much faster than gulp copy operations.
Hmm, I wonder if there could be a step to check dependencies before building the app. Rsync, CocoaPods on Mac, and maybe a few others need to be installed.
On checking dependencies, at least for Linux, that could definitely be a pain to get going due to how many different package managers are available. Instead, is there anyway to create a static binary that could just be pulled from a repo and ran locally inside Joplin? Binaries should be ok to include under the GPL but the source code could definitely be an issue here if included in any form.
there is discussion ongoing in GSoC mailing list to have a Google Summer of Code "Downunder". As alternative https://people.communitybridge.org/ was brought up.
May we find some help, guidance or even dev support there