Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI Failed when build from source: electron/www/index.html does not exist #29

Open
bkushigian opened this issue Oct 23, 2024 · 2 comments

Comments

@bkushigian
Copy link

bkushigian commented Oct 23, 2024

I'm on Window's 11. I ran instructions from the README:

cd electron
npm install
npm run dev

but I get an ERR_FILE_NOT_FOUND on electron/www/index.html. When I ls www it is empty.

I tried building the game as well, but same issue.

EDIT: This might be an issue with sym linking on windows. I'm not really a windows person so I don't know how that works here

@bkushigian
Copy link
Author

Temp Fix: In Powershell from electron dir, run:

rm www
New-Item -ItemType SymbolicLink -Path "www" -Target "../www"

Keeping this open as this still doesn't work out of box on windows.

@solcloud
Copy link
Owner

Thank you for reporting and providing temporary fix 👍 yeah it looks like a windows symbolic link issue
I do not have any windows machine so I cannot really look at it currently

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants