tauri: Unable to start dev mode on windows

Creating a very simple boilerplate with a single index.html will not start in dev mode on my windows machine. However a packaged version will run successfully.

To Reproduce Reproduction repo here: https://github.com/obany/tauri-test Run npx tauri dev The application shows a blank page, and any interaction with the window frame causes the app to exit with.

Running `target\debug\app.exe`
error: process didn't exit successfully: `target\debug\app.exe` (exit code: 0xc000041d)

 app:spawn Command "cargo" failed with exit code: 3221226525 +1ms 

Expected behavior The app should start and show the index page,

Screenshots Dev version shows image

Packaged version shows image

Platform and Versions (please complete the following information):

OS: Windows 10 x64 Node: 12.4.1 NPM: 6.14.5 Yarn: 1.22.4 Rustc: 1.44.1 Chromium Build: 85.0.552.1 (Official build) dev (64-bit)

Additional context Even changing the devPath to http://localhost:4000 and serving the page results in the same issue.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 23 (12 by maintainers)

Commits related to this issue

Most upvoted comments

Screenshot 2020-07-11 at 11 43 13 AM

yes, after updated to 0.9, it is working good, can set back beforeDevCommand again.

Did you face the same issue with tauri.js v0.9.0? @thienpow tauri should now wait for the devServer to be reachable.

“tauri info” should show that info then.

Not really, the app takes 2 mins to start each time and the webtools load and then crash the xserver 😦 So not really an option for debugging.