joethei / obsidian-plantuml

Generate PlantUML Diagrams inside Obsidian.md
MIT License
368 stars 18 forks source link

Plugin fails to load in a new Obsidian installation #20

Closed lalloni closed 2 years ago

lalloni commented 2 years ago

What happened?

I am a new Obsidian user, trying to using it on top of MacOS.

I installed obsidian-plantuml and every time I try to enable it I get an error from Obsidian:

Failed to load plugin obsidian-plantuml

In the developer tools console I get:

app.js:1 Plugin failure: obsidian-plantuml TypeError: a is not a constructor
    at t.<anonymous> (app.js:1)
    at app.js:1
    at Object.next (app.js:1)
    at s (app.js:1)

Obsidian version

0.13.23

Plugin version

1.5.0

What distribution are you seeing the problem on?

Desktop

Are you using a local .jar or a remote server

local .jar

Relevant log output

app.js:1 Plugin failure: obsidian-plantuml TypeError: a is not a constructor
    at t.<anonymous> (app.js:1)
    at app.js:1
    at Object.next (app.js:1)
    at s (app.js:1)
lalloni commented 2 years ago

I didn't had any chance to tell the plugin which plantuml.jar to use.

joethei commented 2 years ago

Whoops, forgot how much chaos a single ^ can cause for older versions(I am on the latest insider)

lalloni commented 2 years ago

Confirming that it works perfectly now! Thanks @joethei!