electron-shadcn-typescript icon indicating copy to clipboard operation
electron-shadcn-typescript copied to clipboard

/main.tsx not found

Open isaiah2004 opened this issue 9 months ago • 1 comments

On the latest ubuntu build and node 22.13

when i run yarn dev I get vite v5.1.6 building SSR bundle for development...

watching for file changes...

build started... ✓ 2 modules transformed. out/main/index.js 1.48 kB built in 52ms.

build the electron main process successfully


vite v5.1.6 building SSR bundle for development...

watching for file changes...

build started... ✓ 1 modules transformed. out/preload/index.js 0.42 kB built in 7ms.

build the electron preload files successfully


dev server running for the electron renderer process at:

➜ Local: http://localhost:5173/ ➜ Network: use --host to expose

start electron app...

1:23:20 PM [vite] Pre-transform error: Failed to load url /main.tsx (resolved id: /main.tsx). Does the file exist?

isaiah2004 avatar Mar 01 '25 07:03 isaiah2004

yarn start still works

isaiah2004 avatar Mar 01 '25 07:03 isaiah2004