Skip to content

Error when enabling plugin #16

@matpatterson

Description

@matpatterson

Whenever I click to enable the plugin, it automatically disables.
In developer tools I get this error each time on MacOS 15.2 (24C101)

app.js:1 Plugin failure: imdone-obsidian-plugin TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
    at Object.dirname (node:path:1279:5)
    at m5 (plugin:imdone-obsidian-plugin:97:24991)
    at async lae (plugin:imdone-obsidian-plugin:97:24712)
    at async vd.onload (plugin:imdone-obsidian-plugin:130:10839)

It happens in my main vault but also in a brand new test vault with no other plugins loaded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions