You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pake-cli@2.6.1 tauri
tauri build
Compiling app v0.1.0 (D:\nvm\nvm\v20.18.0\node_modules\pake-cli\src-tauri)
error: failed to run custom build command for app v0.1.0 (D:\nvm\nvm\v20.18.0\node_modules\pake-cli\src-tauri)
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.
Caused by:
process didn't exit successfully: D:\nvm\nvm\v20.18.0\node_modules\pake-cli\src-tauri\target\release\build\app-7e478ac22f7aeb38\build-script-build (exit code: 101)
--- stdout
cargo:rerun-if-env-changed=TAURI_CONFIG
cargo:rerun-if-changed=tauri.conf.json
cargo:rustc-cfg=desktop
cargo:rerun-if-changed=png\weekly_256.ico
package.metadata does not exist
Error: 1
at file:///D:/nvm/nvm/v20.18.0/node_modules/pake-cli/dist/cli.js:374:24
at D:\nvm\nvm\v20.18.0\node_modules\pake-cli\node_modules\shelljs\src\exec.js:145:9
at ChildProcess.exithandler (node:child_process:430:5)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Caused by:
process didn't exit successfully:
D:\nvm\nvm\v20.18.0\node_modules\pake-cli\src-tauri\target\release\build\app-7e478ac22f7aeb38\build-script-build
(exit code: 101)--- stdout
cargo:rerun-if-env-changed=TAURI_CONFIG
cargo:rerun-if-changed=tauri.conf.json
cargo:rustc-cfg=desktop
cargo:rerun-if-changed=png\weekly_256.ico
package.metadata does not exist
--- stderr
thread 'main' panicked at C:\Users\haohao.cargo\registry\src\rsproxy.cn-0dccff568467c15b\embed-resource-2.4.2\src\windows_not_msvc.rs:49:23:
Couldn't to execute windres to compile "D:\nvm\nvm\v20.18.0\node_modules\pake-cli\src-tauri\target\release\build\app-316dca5d17b01e56\out\resource.rc" into "D:\nvm\nvm\v20.18.0\node_modules\pake-cli\src-tauri\target\release\build\app-316dca5d17b01e56\out/libresource.a": program not found
stack backtrace:
0: 0x7ff7edad1fba - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h865294c7fe55eb93
1: 0x7ff7edb1e6b9 - core::fmt::write::he8b7e02fe1cc02cc
2: 0x7ff7edac8a7f - std::io::Write::write_fmt::hdc620d2dd22aa030
3: 0x7ff7edad4999 - std::panicking::default_hook::{{closure}}::hf861a1ea097906ce
4: 0x7ff7edad45dc - std::panicking::default_hook::h5659e723eb8e1074
5: 0x7ff7edad5294 - std::panicking::rust_panic_with_hook::h493063b98c0b0102
6: 0x7ff7edad50df - std::panicking::begin_panic_handler::{{closure}}::hdc362867f0558b0b
7: 0x7ff7edad27bf - std::sys::backtrace::__rust_end_short_backtrace::h9b97d5d37dc715ab
8: 0x7ff7edad4d46 - rust_begin_unwind
9: 0x7ff7edb1ac64 - core::panicking::panic_fmt::h50bba86df16ca19f
10: 0x7ff7ed3ed755 - embed_resource::windows_not_msvc::ResourceCompiler::compile_resource::h9257117eaf318a41
11: 0x7ff7ed3e0219 - embed_resource::compile_impl::hf0c5b827c885950e
12: 0x7ff7ed3e03d5 - embed_resource::compile::h2e3d3a6c647c45d4
13: 0x7ff7ed3e8e95 - tauri_winres::WindowsResource::compile::hb8009861887ca549
14: 0x7ff7ed1b98d0 - tauri_build::try_build::h0f4a2280ad402c68
15: 0x7ff7ed1b696b - tauri_build::build::h03aef38226eaacd1
16: 0x7ff7ed1a1619 - build_script_build::main::h98c23c5e741a4e39
17: 0x7ff7ed1a15e6 - core::ops::function::FnOnce::call_once::h75d6f10feca0b877
18: 0x7ff7ed1a1579 - std::sys::backtrace::__rust_begin_short_backtrace::h11e39b461b3c648c
19: 0x7ff7ed1a155c - std::rt::lang_start::{{closure}}::he6ed5e94398c640d
20: 0x7ff7edaba9f9 - std::rt::lang_start_internal::ha68282e9ee30ef7f
21: 0x7ff7ed1a1537 - std::rt::lang_start::hd85167916c50610e
22: 0x7ff7ed1a164f - main
23: 0x7ff7ed1a1395 - __tmainCRTStartup
24: 0x7ff7ed1a14e6 - mainCRTStartup
25: 0x7ffd9c687374 -
26: 0x7ffd9e69cc91 -
Error failed to build app: failed to build app
file:///D:/nvm/nvm/v20.18.0/node_modules/pake-cli/dist/cli.js:374
reject(new Error(
${code}
));^
Error: 1
at file:///D:/nvm/nvm/v20.18.0/node_modules/pake-cli/dist/cli.js:374:24
at D:\nvm\nvm\v20.18.0\node_modules\pake-cli\node_modules\shelljs\src\exec.js:145:9
at ChildProcess.exithandler (node:child_process:430:5)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5)
Node.js v20.18.0
Beta Was this translation helpful? Give feedback.
All reactions