obsidian-zotlit icon indicating copy to clipboard operation
obsidian-zotlit copied to clipboard

Install fails (Obsidian 1.4.16)

Open tophee opened this issue 1 year ago • 5 comments

I am trying to install the plugin on Obsidian but it fails. More precisely, I cannot enable it because it fails to install better-sqlite

When I choose the automatic option, it downloads but then hangs while installing.

When I choose the manual option, I download the file and select , but when I reload the plugin I get this error:

image

To clarify: it makes no difference whether I select the compressed or the uncompressed version of the binary.

tophee avatar Oct 17 '23 11:10 tophee

hello,I also encountered this issue. and I created a new vault, I only installed the zotlit plugin, which runs well. I know this must be a conflict with other plugins So after multiple rounds of troubleshooting, I finally locked in the local image plus plugin(https://github.com/Sergei-Korneev/obsidian-local-images-plus). When installing zotlit's better sqlite, please make sure to close this plugin so that it can be successfully installed. After that, there's no problem opening the local image plus again In fact, this is not the first time there has been a conflict with the local image plus, There was also a conflict with the local rest API plugin before, https://github.com/coddingtonbear/obsidian-local-rest-api/issues/79#issuecomment -1761144133 Fortunately,this time the solution is relatively simple

And you should delete this file in advance:C:\Users\{{username}}\AppData\Roaming\obsidian\better-sqlite3-8.0.1-mod.1.node

calmwaves111 avatar Nov 14 '23 08:11 calmwaves111

@calmwaves111 Thank you very much for your help, but following the given instructions i didn't solve my issue. I tried first disabling and then completely disinstalling the plugin "Local image plus", and i remembered to delete the file "C:\Users{{username}}\AppData\Roaming\obsidian\better-sqlite3-8.0.1-mod.1.node" but i still get this error when enabling Zotlit it doesn't install better-sqlite3. These are the errors i get when enabling Zotlit: Immagine 2024-04-27 124714

If it can't be of help, i tell you that i saw that the file "C:\Users{{username}}\AppData\Roaming\obsidian\better-sqlite3-8.0.1-mod.1.node" is an empty file of 0 kb with nothing in it.

P.S. NOW I MADE IT !! I'm still figuring out which the real problem was, but what i tried to do now is: -i closed and reopened obsidian after deleting the file C:\Users{{username}}\AppData\Roaming\obsidian\better-sqlite3-8.0.1-mod.1.node

  • i disabled some other plugin before reinstalling and enabling zotlit (if it can be of help to someone, i guess it might have been Omnisearch or SmartConnections plugin the ones that were using the file "C:\Users{{username}}\AppData\Roaming\obsidian\better-sqlite3-8.0.1-mod.1.node"; however, i also disabled wikipedia plugin, quick links plugin, zettelflow plugin, zotero integration plugin, zetterlkasten outliner plugin.

matar3 avatar Apr 27 '24 10:04 matar3

Here's a video of what happens if I create a brand new, empty vault, and try to install ZotLit: ZotLit install failing silently

If I show the Developer Tools there is no output to see as soon as I click the enable button.

lyndondrake avatar May 04 '24 19:05 lyndondrake

If I go into Library/Application Support/obsidian and delete better-sqlite3-8.0.1-mod.1.node, then I can enable the plugin and I get the following: ZotLit auto install failing

lyndondrake avatar May 04 '24 19:05 lyndondrake

I encountered the same installation error message, so I followed your advice to disable all the plugins and surprisingly the plugin installation was completed!

kkmax2097 avatar May 24 '24 15:05 kkmax2097