Unhelpful error KM05001

I am trying to compile a Keyman package, but I am receiving this error:
Unexpected exception: Error: [{"instancePath":"/keyboards/0/name","schemaPath":"#/properties/name/type","keyword":"type","params":{"type":"string"},"message":"must be string"}]

I can’t figure out what this means or what is causing the error.

Welcome to the community @fngf3501! Can you share the source of your package? It looks like the .kps file may be corrupt somehow, but it’s hard to tell what the actual problem is. Also, please let us know which version of Keyman Developer you are using.

Once we understand how the error is being triggered, we’d aim to add an improved compiler error message to help future keyboard authors.