Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: ENOENT when trying to load file that has been removed #14

Open
jp-performance opened this issue Nov 24, 2023 · 0 comments
Open

Bug: ENOENT when trying to load file that has been removed #14

jp-performance opened this issue Nov 24, 2023 · 0 comments

Comments

@jp-performance
Copy link

When adding a file in the markdown that is saved in the /assets folder and the file is later on being removed (from the /assets folder as well as the reference within the markdown file), Obsidiosaurus runs into the following error:

Error: ENOENT: no such file or directory, copyfile '/Users/jp-performance/Desktop/wiki/vault/assets/example.svg' -> '/Users/jp-performance/Desktop/wiki/website/static/assets/example.svg'.

The markdown files itself are converted correctly.
After manually deleting the respective asset in the assetInfo.json, the conversion process finishes without throwing an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant