phibr0 / obsidian-commander

Commander - Obsidian Plugin | Add Commands to every part of Obsidian's user interface
MIT License
733 stars 36 forks source link

[Bug]: SyntaxError on Startup and reset settings of Commander including all buttons #131

Open MasterRedStorm opened 6 months ago

MasterRedStorm commented 6 months ago

Describe the bug

Having a new Vault and only Commander installed, sometimes on startup i get this: grafik

After that, the buttons i added via commander are missing.

Iam using Obsidian v.1.5.12

Relevant errors (if available)

app.js:1 SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at t.<anonymous> (app.js:1:732057)
    at app.js:1:237056
    at Object.next (app.js:1:237161)
    at a (app.js:1:235879)

Steps to reproduce

Create a new Vault and add the community plugin Commander. Then restart obsidian 1 to 2 times and see the error :)

Expected Behavior

No response

Additional context

No response

Operating system

Windows