Skip to content

/main.tsx not found #6

@isaiah2004

Description

@isaiah2004

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions