mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-05-01 21:20:15 +00:00
fix: wait for lock file handle release before installation
This commit is contained in:
parent
bd8632cbbe
commit
e425afa592
2 changed files with 4 additions and 0 deletions
|
|
@ -192,6 +192,8 @@ async function installUv() {
|
|||
isMusl
|
||||
);
|
||||
if (!isInstalled) {
|
||||
// Wait for the file lock handle to be released
|
||||
await new Promise(r => setTimeout(r, 200))
|
||||
console.log("Downloading uv from gitcode.com");
|
||||
isInstalled = await downloadUvBinary(
|
||||
"https://gitcode.com/CherryHQ/uv/releases/download",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue