Closed luckman212 closed 7 months ago
Me too. It shows 2.0.5 update available inside Obsidian – but here on git the last release seems to be still 2.0.4. Update in Obsidian fails.
This indeed seems to be the issue:
same error to me
So what should I do?
me too~
So what should I do?
As a work around you can manually install by downloading the release from this repo and putting it in the plugins folder for your vault. It won't update.. but at least you can get the install completed.
I tried that ... but I was not succsessful. I do not understand which files I need to be putting into the plugin folder (Sorry).
The plugin folder has four files:
I the repo here I find many other and all code files are TypeScript (.ts) files. I was assuming that Obsidian does some sort of compiling from TypeScript to JavaScript when installing a plugin.
@owrede
I tried that ... but I was not succsessful. I do not understand which files I need to be putting into the plugin folder (Sorry).我试过了......但我没有成功。我不明白我需要将哪些文件放入插件文件夹(对不起)。
The plugin folder has four files:插件文件夹有四个文件:
- data.json
- main.js 主 .js
- manifest.json
- styles.css 样式 .css
I the repo here I find many other and all code files are TypeScript (.ts) files. I was assuming that Obsidian does some sort of compiling from TypeScript to JavaScript when installing a plugin.我在这里的存储库中发现了许多其他代码文件,所有代码文件都是 TypeScript (.ts) 文件。我假设 Obsidian 在安装插件时会从 TypeScript 编译到 JavaScript。
no you just need
styles.css
main.js
data.json
manifest.json
I am not sure what you mean. In this repository here I see styles.css and manifest.json. I do not see data.json or main.js.
What am I missing?
OK. I got it. There was a build error for 2.0.5 that prevented the deployment of the files needed: https://github.com/coddingtonbear/obsidian-local-rest-api/actions/runs/7601968816/job/20701963503
I guess that's why people can't update to 2.0.5.
Well hopefully @coddingtonbear sees this discussion sometime soon and get it fixed.
As a temporary solution you can install the previous version of the plugin (2.0.4) using BRAT
Install BRAT plugin
Add plugin with frozen version
Paste repo URL and version
Hope it helps
just compile error,but @coddingtonbear may be on vacation, so need wait he back to deal it
Whoops! So that will teach me for trying to squeeze in a small fix for somebody when I found myself with a (very) few minutes of free time before a vacation.
I've re-released as 2.0.6 (after re-building package-lock.json
) and things should install correctly once again.
Update went fine! Thanks (still have a problem though... posted in a new issue)
minor: 2.0.5 got incorrectly tagged as a release, now can't install/update from inside Obsidian.