shabegom / paste-that-shizz

A Paste Command
4 stars 0 forks source link

Plugin Fails to Load #1

Open macdrifter opened 3 years ago

macdrifter commented 3 years ago

After manually installing the plugin I receive this message in the console when clicking the enable toggle in Obsidian

(anonymous) @ app.js:1
app.js:1 Plugin failure: paste-that-shizz SyntaxError: Cannot use import statement outside a module
    at eval (<anonymous>)
    at app.js:1
    at t.<anonymous> (app.js:1)
    at app.js:1
    at Object.next (app.js:1)
    at s (app.js:1)

To install I copied the contents of the repo into a directory ".obsidian\paste-that-shizz" and restarted Obsidian.

shabegom commented 2 years ago

Hey @macdrifter! Did you download the Release files? You want the main.js and manifest.json from the Release, not the main.ts in the repo.