[BUG] Stuck at Dependencies Install page
What version of eigent are you using?
0.0.46
System information
Screen Size: 14" Operating System: Windows 11 Processor:Ryzen 7 5800H RAM:16GB ROM:512GB
Problem description
Sometimes when initializing the app for the first time, the dependencies update page gets stuck on the progress bar. You have to click 🔃.
After checking the logs the event listener in InstallDependencies was supposed to get onInstallDependenciesComplete event. I have already fixed the issue and will make a PR now.
Extra notes:
15:48:35.886 > Script error: Resolved 188 packages in 1ms in the logs is getting read as an Error. I am not sure why, even though clearly it is not. (Source: init.ts > installDependencies() > runInstall([]) )
node_process.stderr.on('data', (data) => {
log.error(`Script error: ${data}`)
if (mainWindow && !mainWindow.isDestroyed()) {
mainWindow.webContents.send('install-dependencies-log', { type: 'stderr', data: data.toString() });
}
})
log
Update for version 0.0.46 is not available (latest version: 0.0.46, downgrade is disallowed).
checkForUpdatesAndNotify called, downloadPromise is null
3:48:29 PM [vite] hmr update /src/components/Layout/index.tsx, /src/style/index.css
3:48:31 PM [vite] hmr update /src/components/Layout/index.tsx, /src/style/index.css
3:48:35 PM [vite] hmr update /src/components/Layout/index.tsx, /src/style/index.css
15:48:35.819 > start install dependencies...
start install dependencies
Checking if command line tools are installed, installing if not
cacheDir+++++++++++++++++++++++++++
Cache directory: C:\Users\ASUS.eigent\cache\uv_cache
cacheDir--------------------
cacheDir+++++++++++++++++++++++++++
Cache directory: C:\Users\ASUS.eigent\cache\uv_tool
cacheDir--------------------
cacheDir+++++++++++++++++++++++++++
Cache directory: C:\Users\ASUS.eigent\cache\uv_python
cacheDir--------------------
start install dependencies []
15:48:35.886 > Script error: Resolved 188 packages in 1ms
15:48:35.895 > Script error: Audited 180 packages in 0.09ms
install dependencies end true 15:48:35.911 > Script completed successfully end install dependencies 15:48:35.929 > install dependencies success, check tool installed status... 15:48:35.939 > backend process already exist, skip start 15:48:35.945 > install dependencies complete
Additional context
No response
@a7m-1st Thanks a lot for the PR! From what I can see, it might not actually be caused by that part. We’ve added some extra logging in v0.0.49, so if this happens again on that version, we should be able to figure out what’s really going on.
Okay fantastic. Looking forward to it @FooFindBar. With thanks.