n8jadams / tauri-typescript-react-boilerplate

A Tauri Typescript React Boilerplate that works out of the box.
MIT License
68 stars 8 forks source link

[tauri:dev] Waiting for your dev server to start... #34

Closed aliscie closed 2 years ago

aliscie commented 2 years ago

it keep returning [tauri:dev] Waiting for your dev server to start... for ever

n8jadams commented 2 years ago

Can you tell me a little more info about how you got this message?

What operating system are you running on? Which command did you run?

It's not immediately obvious to me where this message is being logged and I'll need more info to dig deeper.

AlenSci commented 2 years ago
n8jadams commented 2 years ago

In the README I recommend running yarn dev or npm run dev, which will run tauri dev concurrently with the front-end build.

As for adding more functions to the repo, that's more of a Tauri concern than a Tauri boilerplate concern. I recommend just checking out the Tauri docs at https://tauri.studio/ and joining their Discord chat if you need any more support.

In any case, thanks for using the boilerplate! I hope it has been helpful!

Wegt-meoh commented 1 year ago

@aliscie @n8jadams @AlenSci I'm having the same problem, which is not using create-tauri-app build frontend project and rust project with bare hand.I solved the problem by modify dev_path port in tauri.conf.json file.

Ensure that the following two ports are same. image

image

tangramor commented 8 months ago

I met the same problem on MacOS, and the same code works well on Ubuntu. I managed to make it work to modify the package.json: "dev": "vite", to "dev": "vite --host",