Skip to content

Fresh install fails on type creation #3

Description

@HeyItsGilbert

TaskNotes user. Irrationally huge fan of schemas. Been wanting to create more structure around my review notes. Decided to give the mdbase cli a run.

This is a on Windows 11 laptop with a fresh install

$> mdbase types list
task  21 fields, strict: false  A task managed by the TaskNotes plugin for Obsidian.

$> mdbase types create reviews
created type reviews
Assertion failed: !(handle->flags & UV_HANDLE_CLOSING), file src\win\async.c, line 76

$> mdbase -V
0.1.0

I believe this is due a to common pattern I've seen. On Windows devices when a file is read it's locked. This means that if you're opening the file and land attempting to edit it "while reading" the file is unable to be updated. I'll submit a PR shortly with a fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions