Kustomize app fails: `kustomize build ... failed exit status 1: Error: accumulating resources: accumulation err='accumulating resources from '../../base': ... must build at directory: not a valid directory'`.
BeginnerTroubleshootingManifest Generation & ComparisonError
Answer
Likely causes → Wrong relative path in resources, a folder renamed, or a remote base unreachable.
Diagnose → kustomize build apps/web/overlays/prod locally at the same commit.
Fix → Fix the path in kustomization.yaml. For remote bases, pin a ref and ensure the repo-server can reach and authenticate to it.
Prevent → kustomize build every overlay in CI.
More on Manifest Generation & ComparisonError
`ComparisonError: Failed to load target state: failed to generate manifest for source 1 of 1: rpc error: code = Unknown desc = Manifest generation error (cached): ...`Intermediate`rpc error: code = Unknown desc = `helm template . --name-template web --namespace web ... --include-crds` failed exit status 1: Error: template: web/templates/deployment.yaml:24:20: executing "web/templates/deployment.yaml" at <.Values.image.tag>: nil pointer evaluating interface {}.tag`Beginner`Error: open envs/prod/values.yaml: no such file or directory` when the app renders.Beginner`Error: values file '../../envs/prod/values.yaml' resolved to outside repository root`Intermediate`Error: trouble configuring builtin HelmChartInflationGenerator with config: ... must specify --enable-helm`Intermediate`rpc error: code = DeadlineExceeded desc = context deadline exceeded` on several apps' comparison.Advanced