X18N4006: Key not found
Key not found. List keys with `x18n keys` (agents: the `x18n_keys` tool).
Message
[X18N4006] Key not found <detail>
├▶ fix: List keys with `x18n keys` (agents: the `x18n_keys` tool).
╰▶ see: https://x18n.antfu.dev/errors/x18n4006The CLI prints the code and why the error happened, with details such as a file name or a field. The fix and a link to this page follow. With --json, the same parts are in errors of the envelope.
What to do
The key does not exist in any locale.
- Run
x18n keysto list the keys, orx18n keys "<glob>"to search. - Check the namespace. In a namespaced project the key is
ns:path, for examplecommon:save.
Exit code
The CLI exits with code 1.