DF8402: Command Not Registered
Message
Command "
{id}" is not registered
Cause
ctx.commands.execute(id, …) (or the update() handle returned by register()) was called with an id that has no registration. The command was either never registered or has already been unregister()'d.
Fix
- Register the command first via
ctx.commands.register({ id, title, handler }). - Verify the id — typos and stale references are the usual cause.
- If invoking client-side, register the command on the client via
ctx.commands.registerin the dock client script.
Source
packages/hub/src/node/host-commands.ts—DevframeCommandsHost.execute()and theupdatehandle throw when the id is missing.