TeemuKoivisto / prosemirror-dev-toolkit

Injectable developer tools for ProseMirror rich-text editors implemented in Svelte and TypeScript.
https://teemukoivisto.github.io/prosemirror-dev-toolkit/
MIT License
117 stars 6 forks source link

'svelte-kit' is not recognized as an internal or external command #40

Closed kilgarenone closed 1 year ago

kilgarenone commented 1 year ago

When npm install v1.0.2 or above, I hit this error:

npm ERR! 'svelte-kit' is not recognized as an internal or external command,
npm ERR! operable program or batch file.
npm ERR! 'true' is not recognized as an internal or external command,
npm ERR! operable program or batch file.

v1.0.1 is fine.

TeemuKoivisto commented 1 year ago

Hey! Thanks for the bug report, yeah uhh svelte-kit had some interesting api changes but the gist of it is, the problem was with an old version of svelte-tree-view. If you can update the prosemirror-dev-toolkit to say latest version 1.0.6 it should pull an updated svelte-tree-view as well.

EDIT: Or wait, what OS are using? Windows?

kilgarenone commented 1 year ago

Yeah same thing with 1.0.6 too.

-------- Original Message -------- On Jan 5, 2023, 12:38 AM, Teemu Koivisto wrote:

Hey! Thanks for the bug report, yeah uhh svelte-kit had some interesting api changes but the gist of it is, the problem was with an old version of svelte-tree-view. If you can update the prosemirror-dev-toolkit to say latest version 1.0.6 it should pull an updated svelte-tree-view as well.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

TeemuKoivisto commented 1 year ago

Okay, I think I figured it out. I'll publish a fix once I get my Svelte build in svelte-tree-view sorted out.