Can't enable Local REST API

Trying to load Local REST API by @coddingtonbear. I can install it, but when trying to enable it, I get the message “can’t load obsidian-local-rest-api”

I have restarted Obsidian, trying the process again, but with same results. In the log I see the text below:

app.js:1 Plugin failure: obsidian-local-rest-api TypeError: Cannot set property ok of # which has only a getter
at forEachCode (VM1159 plugin:obsidian-local-rest-api:23480:36)
at Array.forEach ()
at createMessageToStatusCodeMap (VM1159 plugin:obsidian-local-rest-api:23477:27)
at node_modules/statuses/index.js (VM1159 plugin:obsidian-local-rest-api:23454:19)
at __require (VM1159 plugin:obsidian-local-rest-api:44:44)
at node_modules/finalhandler/index.js (VM1159 plugin:obsidian-local-rest-api:40417:20)
at __require (VM1159 plugin:obsidian-local-rest-api:44:44)
at node_modules/express/lib/application.js (VM1159 plugin:obsidian-local-rest-api:44453:24)

Anyone any clue?

Reinstalling the plugin may help.

Tried that several times, but always the same error message

I thought there had been a spate of people getting “can’t load [plugin]” on Discord lately but the search there is giving me nothing recent. In general it’s a thing that happens on odd occasions for whatever reason (it has happened to me once or twice in 4 years). I think it’s not usually this persistent, tho. I’m afraid all I have to offer is the traditional fallback of restarting the device, if you haven’t already.

When creating a brand new vault, I can load it. So maybe it’s a conflict with some other plugin? Just updated Obsidian to version 1.10.1 but that also didn’t change anything.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.