You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@asbng Do you know where exactly this happens / how it can reproduced?
When removing the deno.lock file during updates, it is already checked beforehand if the file exists (
NotFound: No such file or directory (os error 2): remove '/home/user/uix-project/deno.lock'
at async Object.remove (ext:deno_fs/30_fs.js:259:3)
at async updateCache (https://cdn.unyt.org/uix/auto-update.ts:30:3)
This is really weird - we are definitely checking beforehand if the file exists with denoLock.fs_exists. Either this check does not work correctly, which should definitely not be the case, or the file is already deleted before Deno.remove is finished. I changed the async Deno.remove call to Deno.removeSync for the next release, hoping that this has an effect somehow, I don't know what else we could change.
Currently, the deno process crashes when trying to delete a non-existing deno.lock file (during UIX updates)
The text was updated successfully, but these errors were encountered: