Hello,
I'm using Ubuntu 20.04. After I was unable to figure out how to upgrade I uninstalled (deleted the .joplin folder) joplin cli and reinstalled it using
NPM_CONFIG_PREFIX=~/.joplin-bin npm install -g joplin
Joplin now crashes on launch, dumping the following:
events.js:174
throw er; // Unhandled 'error' event
^
Error: SQLITE_ERROR: ./build/lib/sql-extensions/spellfix.so: cannot open shared object file: such file or directory
Emitted 'error' event at:
log.txt doesn't contain anything interesting, only
2020-09-22 20:51:23: "Profile directory: /home/xxx/.config/joplin"
I don't know what the joplin version number is since joplin -v
crashes too, but probably 1.0.167 since I installed today, node -v
returns v10.19.0
, npm -v
returns 6.14.4
Any help would be appreciated
installation log if that helps:
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
/home/xxx/.joplin-bin/bin/joplin -> /home/xxx/.joplin-bin/lib/node_modules/joplin/main.js
> keytar@5.6.0 install /home/xxx/.joplin-bin/lib/node_modules/joplin/node_modules/keytar
> prebuild-install || node-gyp rebuild
> sharp@0.23.4 install /home/xxx/.joplin-bin/lib/node_modules/joplin/node_modules/sharp
> (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)
info sharp Using cached /home/xxx/.npm/_libvips/libvips-8.8.1-linux-x64.tar.gz
> sqlite3@4.2.0 install /home/xxx/.joplin-bin/lib/node_modules/joplin/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build
node-pre-gyp WARN Using request for node-pre-gyp https download
[sqlite3] Success: "/home/xxx/.joplin-bin/lib/node_modules/joplin/node_modules/sqlite3/lib/binding/node-v64-linux-x64/node_sqlite3.node" is installed via remote
> joplin@1.1.8 postinstall /home/xxx/.joplin-bin/lib/node_modules/joplin
> patch-package
patch-package 6.2.2
Applying patches...
htmlparser2@4.1.0 ✔
sax@1.2.4 ✔
npm WARN jsdom@15.2.1 requires a peer of canvas@^2.5.0 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.3.1 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.3.1 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
+ joplin@1.1.8
added 584 packages from 749 contributors in 157.531s