kit
kit copied to clipboard
Error creating new snippet in release candidate for 2.0
I just tried to create a new snippet in the 2.0 release candidate and got this error:
Cannot read properties of null (reading '1')
TypeError: Cannot read properties of null (reading '1')
at file:///Users/nicholasbaier/.kit/cli/new-snippet.js
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
@nbbaier Did you delete the // Name: portion of the snippet? The way it's currently set up, it's required or else it can't infer the filename from the snippet.
I did have the // Name:. Just tried saving another snippet and it worked, but the snippet creation window doesn't close when pressing ⌘+S or even clicking save. I have to hit ⌘+; to get back to the main menu.