multica-ai/multica · error
local_directory: --daemon-id is required (no existing daemon
Error message
local_directory: --daemon-id is required (no existing daemon_id to merge with)
What it means
Error "local_directory: --daemon-id is required (no existing daemon_id to merge with)" thrown in multica-ai/multica.
Source
Thrown at server/cmd/multica/cmd_project.go:908
} else {
ref["label"] = refLabel
}
}
if modeSet {
// An empty value clears the field back to the in_place default,
// mirroring how --ref-label clears a label.
mode := strings.TrimSpace(mustString(cmd, "execution-mode"))
if mode == "" {
delete(ref, "execution_mode")
} else {
ref["execution_mode"] = mode
}
}
if v, ok := ref["local_path"].(string); !ok || v == "" {
return nil, false, fmt.Errorf("local_directory: --local-path is required (no existing local_path to merge with)")
}
if v, ok := ref["daemon_id"].(string); !ok || v == "" {
return nil, false, fmt.Errorf("local_directory: --daemon-id is required (no existing daemon_id to merge with)")
}
return ref, true, nil
default:
// Unknown type or empty (resource not found) — caller must use --ref.
if cmd.Flags().Changed("url") || cmd.Flags().Changed("default-branch-hint") ||
cmd.Flags().Changed("local-path") || cmd.Flags().Changed("daemon-id") ||
cmd.Flags().Changed("ref-label") || cmd.Flags().Changed("execution-mode") {
return nil, false, fmt.Errorf("no built-in shortcut for resource type %q; pass the full payload via --ref '<json>'", resourceType)
}
return nil, false, nil
}
}
func mustString(cmd *cobra.Command, name string) string {
v, _ := cmd.Flags().GetString(name)
return v
}
View on GitHub (pinned to 2c0912b6ec)
Solutions
- Pass --daemon-id; there is no existing daemon_id to merge with.
When it happens
Trigger: Thrown at server/cmd/multica/cmd_project.go:908 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of multica-ai/multica@2c0912b6ec (2026-08-15).
Data as JSON: /api/errors/5ed0752cc7316efb.
Report an issue: GitHub.