vipzhicheng / logseq-plugin-lock

Lock each Logseq block in even different password.
MIT License
30 stars 2 forks source link

Plugin Not Loading #9

Closed pweibert closed 1 year ago

pweibert commented 1 year ago

I have cloned the plugin. Executed: npm install and npm run build

and than imported it via "Load unpacked plugin" Development Tool Shows: Uncaught SyntaxError: Unexpected identifier (at main.ts:29:48) This line causes the error: const bodyEl = document.getElementById("body") as HTMLInputElement

It seems like typescript is not supported. Is there a special way how the plugin has to be prepared? Thanks in advance!

pweibert commented 1 year ago

I found out what the problem was, I did the installation wrong, i propose to add some installation instruction to the readme, I've created a pull request PR#10