colima-gui icon indicating copy to clipboard operation
colima-gui copied to clipboard

White screen on `npm run tauri dev`

Open briantully opened this issue 1 year ago • 1 comments

I tried installing this by following the README, however I initially received a fatal error that @mui/material was not found. I got around that by running npm install @mui/material.

However now when I try running npm run tauri dev a small window opens up with just a white screen. There is no error in the terminal:

npm run tauri dev

> [email protected] tauri
> tauri dev

     Running BeforeDevCommand (`npm run dev`)

> [email protected] dev
> vite


  VITE v5.4.11  ready in 124 ms

  ➜  Local:   http://localhost:1420/
  ➜  Network: use --host to expose
        Info Watching /Users/c8z3zk/Sites/colima-gui/src-tauri for changes...
   Compiling colima-gui v0.0.1 (/Users/c8z3zk/Sites/colima-gui/src-tauri)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.20s

Any idea why it's opening an empty window with no text or buttons?

briantully avatar Dec 03 '24 04:12 briantully

I had the same problem. After a bit of debugging, I found it was also missing @emotion/styled.

npm i @emotion/styled to install the missing package, run and it was working.

robwatt avatar Mar 10 '25 19:03 robwatt