devika icon indicating copy to clipboard operation
devika copied to clipboard

Interface not working on Windows using WSL no errors

Open Orsso opened this issue 1 year ago • 21 comments

Hello, after following installation recommandations, it compile with no error but it result on the interface not working (no any buttons respond when being clicked) and i basically can't do anything. Maybe i did something wrong. Here are some screenshot of my terminal and web ui. I am not used to WSL utilisation, i just installed it but i don't know if it require more manipulations in order to work as intended. Thank you by advance for your help to run this promising project on my computer ! :) image image image

Orsso avatar Mar 24 '24 12:03 Orsso

Same on me but I installed WIndows not WSL.

kimsama avatar Mar 24 '24 13:03 kimsama

Same on me but I installed WIndows not WSL.

Windows doesnt have BUN support yet sadly.

Drlordbasil avatar Mar 24 '24 14:03 Drlordbasil

Fixed with separate terminals IE: first is the BUN UI and all that, second terminal is simply running devika/devika.py Fixed WSL issues.

Drlordbasil avatar Mar 24 '24 14:03 Drlordbasil

Same on me but I installed WIndows not WSL.

Windows doesnt have BUN support yet sadly.

What about with WSL, especially WEL2? Is that OK?

kimsama avatar Mar 24 '24 14:03 kimsama

Fixed with separate terminals IE: first is the BUN UI and all that, second terminal is simply running devika/devika.py Fixed WSL issues.

How you fixed that issue in windows without using WSL?

krishiv-patel avatar Mar 24 '24 14:03 krishiv-patel

Same on me but I installed WIndows not WSL.

Windows doesnt have BUN support yet sadly.

What about with WSL, especially WEL2? Is that OK?

Yes bun is easily installed using ubuntu/visual studio code WSL or just the WSL terminal. still need the 2 terminals though. :D

Drlordbasil avatar Mar 24 '24 15:03 Drlordbasil

Fixed with separate terminals IE: first is the BUN UI and all that, second terminal is simply running devika/devika.py Fixed WSL issues.

How you fixed that issue in windows without using WSL?

Not possible to use bun yet on regular windows.

Drlordbasil avatar Mar 24 '24 15:03 Drlordbasil

Same Issue with Windows. I used the experimental version of BUN, and everything was going well until I tried to run the code, I tried to start the UI first and then the server but still no response.

DiDisama317 avatar Mar 24 '24 15:03 DiDisama317

Fixed with separate terminals IE: first is the BUN UI and all that, second terminal is simply running devika/devika.py Fixed WSL issues.

Same issue with separated terminals

Orsso avatar Mar 25 '24 11:03 Orsso

Fixed with separate terminals IE: first is the BUN UI and all that, second terminal is simply running devika/devika.py Fixed WSL issues.

Same issue with separated terminals

Can you possibly send more info like pip freeze? uv/bun both installed? Do you like pie or cake?

Drlordbasil avatar Mar 25 '24 12:03 Drlordbasil

** CMD**

ollama

if its already run or getting freeze than kill their process using.

taskkill /IM ollama.exe /F

start ollama

it will resolve the issue

iAstrodude avatar Mar 26 '24 11:03 iAstrodude

having same issues on windows 10 tried powershell and gitbash even tried different ports not sure whats going off

Jmenotts avatar Mar 26 '24 18:03 Jmenotts

Same issue here with experimental windows build

Balu027 avatar Mar 31 '24 14:03 Balu027

fetch the latest changes. I also use windows 11 and install bun(experimental) and works perfectly fine with node 20.9.0.

tell me if it's help or not

ARajgor avatar Apr 03 '24 18:04 ARajgor

I updated to the latest one, now it's even worse :D Now http://localhost:3000/ is just a blank screen. devika

Balu027 avatar Apr 04 '24 10:04 Balu027

share the network log and console log from browser also which node version?

ARajgor avatar Apr 04 '24 16:04 ARajgor

It's a bit weird. There are two options: it's either 'loading' instantly, looks like it finished loading, in this case I have a totally empty console log and a pretty populated network log. console log completed network_completed_1 network_completed_2

If I try to reload it again, it just keeps working (the working icon is spinning indefinitely). The console log is still empty. Network log only has a localhost. network_working

If I press stop, however, I get a cancelled localhost and an error in the console. network_stopped console_stopped

Where can I see the node version?

Balu027 avatar Apr 04 '24 20:04 Balu027

Fetch the latest changes and do a clean install.

ARajgor avatar Apr 16 '24 03:04 ARajgor

When I do the bun run start, I get this:

$ vite build && vite preview vite v5.2.8 building SSR bundle for production... ✓ 649 modules transformed. error when starting preview server: undefined error: script "start" exited with code 1

Balu027 avatar Apr 16 '24 10:04 Balu027

do you have latest version of bun?

ARajgor avatar Apr 16 '24 11:04 ARajgor

I updated that as well, now it goes a bit further:

$ vite build && vite preview vite v5.2.8 building SSR bundle for production... ✓ 649 modules transformed. vite v5.2.8 building for production... ✓ 688 modules transformed. .svelte-kit/output/client/_app/version.json 0.03 kB │ gzip: 0.05 kB .svelte-kit/output/client/.vite/manifest.json 5.68 kB │ gzip: 0.91 kB .svelte-kit/output/client/_app/immutable/assets/tiktoken_bg.D1vgAo9Z.wasm 1,100.09 kB .svelte-kit/output/client/_app/immutable/assets/2.B4T8hs7e.css 6.19 kB │ gzip: 2.27 kB .svelte-kit/output/client/_app/immutable/assets/Toaster.BkLvsHqN.css 12.78 kB │ gzip: 2.79 kB .svelte-kit/output/client/_app/immutable/assets/0.ky7OTPEa.css 20.59 kB │ gzip: 4.69 kB .svelte-kit/output/client/_app/immutable/entry/start.BjLKhbXo.js 0.07 kB │ gzip: 0.08 kB .svelte-kit/output/client/_app/immutable/chunks/stores.Y4PAX1XE.js 0.23 kB │ gzip: 0.17 kB .svelte-kit/output/client/_app/immutable/nodes/1.CcRYBzjx.js 0.79 kB │ gzip: 0.50 kB .svelte-kit/output/client/_app/immutable/chunks/each.M-WWh_9i.js 0.86 kB │ gzip: 0.53 kB .svelte-kit/output/client/_app/immutable/chunks/index.CtFfpz60.js 0.99 kB │ gzip: 0.60 kB .svelte-kit/output/client/_app/immutable/chunks/Toaster.svelte_svelte_type_style_lang.CxETsj9g.js 2.57 kB │ gzip: 1.06 kB .svelte-kit/output/client/_app/immutable/chunks/mode.D1BbPwL2.js 2.66 kB │ gzip: 1.06 kB .svelte-kit/output/client/_app/immutable/nodes/3.cUIO3gCP.js 3.69 kB │ gzip: 1.52 kB .svelte-kit/output/client/_app/immutable/chunks/index.CcqImCu-.js 5.52 kB │ gzip: 2.67 kB .svelte-kit/output/client/_app/immutable/entry/app.XrUJMKMm.js 6.76 kB │ gzip: 2.72 kB .svelte-kit/output/client/_app/immutable/chunks/icons.N1DyG8ix.js 6.98 kB │ gzip: 2.81 kB .svelte-kit/output/client/_app/immutable/chunks/scheduler.B_jgbYNs.js 9.23 kB │ gzip: 3.58 kB .svelte-kit/output/client/_app/immutable/chunks/utils.Ckxz92B5.js 22.06 kB │ gzip: 7.54 kB .svelte-kit/output/client/_app/immutable/chunks/entry.CKS99Ke6.js 25.81 kB │ gzip: 10.32 kB .svelte-kit/output/client/_app/immutable/nodes/0.C5uExL6Y.js 41.27 kB │ gzip: 13.25 kB .svelte-kit/output/client/_app/immutable/chunks/api.Bs-WsMpV.js 42.46 kB │ gzip: 13.28 kB .svelte-kit/output/client/_app/immutable/nodes/4.By3_eLQt.js 120.29 kB │ gzip: 34.82 kB .svelte-kit/output/client/_app/immutable/nodes/2.CaR3aJ7y.js 1,449.05 kB │ gzip: 600.66 kB

(!) Some chunks are larger than 500 kB after minification. Consider:

  • Using dynamic import() to code-split the application
  • Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
  • Adjust chunk size limit for this warning via build.chunkSizeWarningLimit. ✓ built in 9.06s error when starting preview server: undefined error: script "start" exited with code 1

Balu027 avatar Apr 16 '24 12:04 Balu027

follow this https://github.com/stitionai/devika?tab=readme-ov-file#installation

ARajgor avatar Apr 25 '24 09:04 ARajgor