Skip to content

Incorrect Tauri frontendDist value causing Tauri build issues #142

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

Open
bapspatil opened this issue Apr 13, 2025 · 2 comments
Open

Incorrect Tauri frontendDist value causing Tauri build issues #142

bapspatil opened this issue Apr 13, 2025 · 2 comments

Comments

@bapspatil
Copy link
Contributor

The Tauri config file (tauri.conf.json) when used with TanStack Router. It is currently set to:

"frontendDist": "/dist",

I tried setting it to:

"frontendDist": "../dist",

This ensures a successful build, but when I open the macOS app, it doesn't connect to the server.

@AmanVarshney01
Copy link
Owner

Hi, thanks for reporting this. I'll address the frontendDist configuration issue.
Regarding the server connectivity, are you running the server in a separate terminal instance?

Image

@bapspatil
Copy link
Contributor Author

Yes—getting this issue on macOS even when I run the server on a separate terminal instance:
Image

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