Skip to content

[bug] failed to compile icons/icon.ico into a Windows Resource file during tauri-build #3941

Description

@zhangkuangwen

Describe the bug

This happens when you run and when you pack

error: failed to run custom build command for app v0.1.0 (C:\Users\19915\Desktop\rust\hello-tauri\src-tauri)

Caused by:
process didn't exit successfully: C:\Users\19915\Desktop\rust\hello-tauri\src-tauri\target\release\build\app-818444f0d448be51\build-script-build (exit code: 101)
--- stdout
cargo:rerun-if-changed=tauri.conf.json
package.metadata does not exist

--- stderr
thread 'main' panicked at 'error found during tauri-build: Error {
context: "failed to compile icons/icon.ico into a Windows Resource file during tauri-build",
source: Error {
kind: NotFound,
message: "program not found",
},
}', C:\Users\19915.cargo\registry\src\github.com-1ecc6299db9ec823\tauri-build-1.0.0-rc.5\src\lib.rs:146:5
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Reproduction

No response

Expected behavior

No response

Platform and versions

Platform is the window   @tauri-apps/cli:^1.0.0-rc.8  @tauri-apps/api: "^1.0.0-rc.3"

Stack trace

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions