PKM-er / obsidian-zotlit

A third-party project that aims to facilitate the integration between Obsidian.md and Zotero, by providing a set of community plugins for both Obsidian and Zotero.
https://zotlit.aidenlx.top
MIT License
632 stars 28 forks source link

Install fails (Obsidian 1.4.16) #225

Open tophee opened 10 months ago

tophee commented 10 months ago

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.

calmwaves111 commented 9 months ago

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

matar3 commented 4 months ago

@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

lyndondrake commented 4 months ago

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 commented 4 months ago

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

kkmax2097 commented 3 months ago

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