Can't build on MacOs

Summary

On an Apple Mac M4, Yaak builds successfully, but running the binary hangs during plugin initialization and logs repeated plugin decode errors. Bundled plugins appear to fail one after another.

Environment

  • Device: Apple Mac M4 (Apple Silicon)

  • OS: macOS 15.7.1

  • Arch/Target: aarch64-apple-darwin

  • Node.js: v24.13.0

Steps to Reproduce

In a clean clone of the repo (main branch as of 28 Jan):

npm install
npm run bootstrap
npm run build
npm run tauri build -- --target aarch64-apple-darwin --bundles dmg

Then run the built binary directly (this is where the problem appears):

cd src-tauri
./target/aarch64-apple-darwin/release/yaak

(or open the generated app from the DMG; behavior is the same).

Expected Behavior

Yaak starts normally, the UI appears, and all bundled plugins initialize without errors.

Actual Behavior

  • The process starts and prints logs.

  • During startup, bundled plugins are loaded from the vendored/plugins directory.

  • Each plugin initialization appears to fail in sequence (e.g., auth-ntlm, then importer-postman-environment, etc.).

  • No usable UI appears; the app effectively hangs while plugins fail one after another.

Logs (from running the binary)

[2026-01-28][10:37:18][INFO][yaak_models::migrate] Running database migrations
[2026-01-28][10:37:18][INFO][yaak_models::migrate] No migrations to run out of 54
[2026-01-28][10:37:18][INFO][yaak_plugins::manager] Starting plugin server on 127.0.0.1:57446
[2026-01-28][10:37:18][INFO][yaak_plugins::nodejs] Starting plugin runtime main=/Users/dllb/w/sandbox/yaak/src-tauri/target/aarch64-apple-darwin/release/vendored/plugin-runtime/index.cjs
[2026-01-28][10:37:18][INFO][yaak_plugins::nodejs] Spawned plugin runtime
[2026-01-28][10:37:18][INFO][yaak_plugins::manager] Waiting for plugins to initialize
[2026-01-28][10:37:18][INFO][yaak_plugins::server_ws] New plugin runtime websocket connection: 127.0.0.1:57447
[2026-01-28][10:37:18][INFO][yaak_plugins::manager] Plugin runtime client connected!
[2026-01-28][10:37:18][INFO][yaak_plugins::manager] Loading bundled plugins from "/Users/dllb/w/sandbox/yaak/src-tauri/target/aarch64-apple-darwin/release/vendored/plugins"
[2026-01-28][10:37:18][INFO][yaak_plugins::manager] Adding plugin by dir /Users/dllb/w/sandbox/yaak/src-tauri/target/aarch64-apple-darwin/release/vendored/plugins/auth-ntlm
[2026-01-28][10:37:18][INFO][yaak_plugins::nodejs] Plugin runtime connected to websocket
[2026-01-28][10:37:18][ERROR][yaak_plugins::server_ws] Failed to decode plugin event Error("missing field `context`", line: 1, column: 114) -> {"pluginRefId":"z78NG","pluginName":"auth-ntlm","id":"MywKM","replyId":"6zUrN","payload":{"type":"boot_response"}}
[2026-01-28][10:37:23][WARN][yaak_plugins::manager] Failed to add plugin /Users/dllb/w/sandbox/yaak/src-tauri/target/aarch64-apple-darwin/release/vendored/plugins/auth-ntlm TimeoutElapsed(Elapsed(()))
[2026-01-28][10:37:23][INFO][yaak_plugins::manager] Adding plugin by dir /Users/dllb/w/sandbox/yaak/src-tauri/target/aarch64-apple-darwin/release/vendored/plugins/importer-postman-environment
[2026-01-28][10:37:23][ERROR][yaak_plugins::server_ws] Failed to decode plugin event Error("missing field `context`", line: 1, column: 133) -> {"pluginRefId":"0oUx4","pluginName":"importer-postman-environment","id":"a4i3S","replyId":"1qwVo","payload":{"type":"boot_response"}}
...


Thanks for a wonderful application.

Please authenticate to join the conversation.

Upvoters
Status

Resolved

Board

Feedback

Tags

Question

Date

5 months ago

Author

arcestelis

Subscribe to post

Get notified by email when there are changes.