holxsam / tldraw-in-obsidian

A plugin to integrate Tldraw into Obsidian.
Apache License 2.0
121 stars 6 forks source link

Failed to load #1

Closed 64er closed 10 months ago

64er commented 10 months ago

I cloned the repository as described to /.obsidian/plugins/, but when I tried to enable it, I got “Failed to load plugin” on obsidian mobile.

NarrowWoodBridge commented 10 months ago

When you clone, you just get the source code instead of the plugin compiled, please download from the Releases and put the files under the subfolder of the plugin folder.

holxsam commented 10 months ago

As NarrowWoodBridge has said, if you cloned the repo you then just have the source code not the files you need for the plugin. You can generate the files from the source code but running npm run dist but that is most likely not an option if you're using Obsidian on mobile. There are more detailed instructions in the README.md. I recommend installing using the "easy way" which uses BRAT (another community plugin). Let me know if you still have issues!

EDIT: use npm run dist not npm run build