Closed genedna closed 1 month ago
Hi,
Your pipy version is not supported by ZTM. The oldest version pipy which is supported is 9fed128
.
You may refer to the pipy submodule of ZTM.
Cheers,
Kevein
@keveinliu ,
I built the ztm and followed the build instructions; I got an error message like the one below.
!) Some chunks are larger than 500 kB after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
✓ built in 5.32s
warning: unused manifest key: target.cfg(any(target_os = "android")).linker
Compiling tauri-runtime-wry v2.0.0-beta.16
Compiling ztm v0.0.4 (D:\GitMono\ztm\gui\src-tauri)
error: failed to run custom build command for `ztm v0.0.4 (D:\GitMono\ztm\gui\src-tauri)`
Caused by:
process didn't exit successfully: `D:\GitMono\ztm\gui\src-tauri\target\release\build\ztm-3761a6cf831e6917\build-script-build` (exit code: 1)
--- stdout
cargo:rerun-if-env-changed=TAURI_CONFIG
cargo:rerun-if-changed=tauri.conf.json
cargo:rustc-cfg=desktop
cargo:rustc-env=TAURI_ANDROID_PACKAGE_PREFIX=com_flomesh
cargo:PERMISSION_FILES_PATH=D:\GitMono\ztm\gui\src-tauri\target\release\build\ztm-04b326dac161f89c\out\app-manifest\__app__-permission-files
cargo:rerun-if-changed=capabilities
cargo:rustc-env=TAURI_ENV_TARGET_TRIPLE=x86_64-pc-windows-msvc
path matching bin/cli-x86_64-pc-windows-msvc.exe not found.
warning: build failed, waiting for other jobs to finish...
Error failed to build app: failed to build app
@keveinliu ,
But I still completed the compile process and got a runnable execute file for running a zmt agent.
@genedna It was caused by an extra 'tauri build' step that was accidentally added into the normal CLI build process. It is supposed to be corrected now in the latest commit. Please try it out.
@pajama-coder Yeah, the tauri build
error is gone. When the compile process is completed, everything works.
When executing the command
pipy agent/main.js
, an error occurs within the forkJoin function in the /mesh.js file. The error message indicates that the first argument to forkJoin should be either an array or a function, but the current implementation does not meet this requirement.commit ff35ff5cb0e2063f59b2623efc1392bd2f6b03dc