-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Context
I'm following the brief readme for the wdio example tests that use wdio for tauri v2 on a Windows 11 laptop. The repo is at commit: d51fed2 .
The Microsoft build tools have been installed, etc.
Actions
I ran pnpm install
to install the various packages then ran pnpm test
. This failed after various compilations for .run(tauri::generate_context!())
as there's no ..\dist
folder.
An extract of the terminal output follows:
... <snipped>
Compiling webview2-com v0.36.0
error: proc macro panicked
--> src\lib.rs:12:14
|
12 | .run(tauri::generate_context!())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: message: The `frontendDist` configuration is set to `"../dist"` but this path doesn't exist
error: could not compile `tauri-app` (lib) due to 1 previous error
2025-07-02T15:34:57.885Z INFO @wdio/cli:launcher: Run onWorkerStart hook
2025-07-02T15:34:57.888Z INFO @wdio/local-runner: Start worker 0-0 with arg: run,wdio.conf.js
[0-0] 2025-07-02T15:34:59.073Z INFO @wdio/local-runner: Run worker command: run
[0-0] node:events:496
[0-0] throw er; // Unhandled 'error' event
[0-0] ^
[0-0]
[0-0] Error: spawn C:\Users\julia\.cargo\bin\tauri-driver ENOENT
[0-0] at ChildProcess._handle.onexit (node:internal/child_process:285:19)
[0-0] at onErrorNT (node:internal/child_process:483:16)
[0-0] at process.processTicksAndRejections (node:internal/process/task_queues:90:21)
[0-0] Emitted 'error' event on ChildProcess instance at:
[0-0] at ChildProcess._handle.onexit (node:internal/child_process:291:12)
[0-0] at onErrorNT (node:internal/child_process:483:16)
[0-0] at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
[0-0] errno: -4058,
[0-0] code: 'ENOENT',
[0-0] syscall: 'spawn C:\\Users\\julia\\.cargo\\bin\\tauri-driver',
[0-0] path: 'C:\\Users\\julia\\.cargo\\bin\\tauri-driver',
[0-0] spawnargs: []
[0-0] }
[0-0]
[0-0] Node.js v22.17.0
[0-0] FAILED
2025-07-02T15:34:59.345Z INFO @wdio/cli:launcher: Run onWorkerEnd hook
2025-07-02T15:34:59.346Z INFO @wdio/cli:launcher: Run onComplete hook
Spec Files: 0 passed, 1 failed, 1 total (100% completed) in 00:05:11
2025-07-02T15:34:59.348Z INFO @wdio/local-runner: Shutting down spawned worker
2025-07-02T15:34:59.601Z INFO @wdio/local-runner: Waiting for 0 to shut down gracefully
2025-07-02T15:34:59.603Z INFO @wdio/local-runner: shutting down
ELIFECYCLE Test failed. See above for more details.
Diagnostics
The diagnostic pnpm tauri info
fails with:
>pnpm tauri info
'tauri' is not recognized as an internal or external command,
operable program or batch file.
ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL Command "tauri" not found
>rustup default
stable-x86_64-pc-windows-msvc (default)
Metadata
Metadata
Assignees
Labels
No labels