CLIError codes
ADMIN_PASSWORD_MISSING
No password was given: `NEXTLY_ADMIN_PASSWORD` is not set and none was typed at a prompt.
Cause
No password was given: NEXTLY_ADMIN_PASSWORD is not set and none was typed at a prompt.
The password is never taken from an argument, where it would stay in the shell's history. It comes from NEXTLY_ADMIN_PASSWORD, or from a prompt when the command runs in a terminal, and neither gave one.
Fix
- In a script or CI, set
NEXTLY_ADMIN_PASSWORDfor the command:NEXTLY_ADMIN_PASSWORD=… nextly users:create-admin --email ada@example.com --name Ada. - Or run the command in a terminal, where it asks for the password.
Example
✗ No password was given for the administrator.
Why: NEXTLY_ADMIN_PASSWORD is not set, and no password was typed at a prompt. The password is never taken from an argument.
Next: Set NEXTLY_ADMIN_PASSWORD, or run this in a terminal to be asked.
Docs: https://nextlyhq.com/docs/cli/errors/admin-password-missing (ADMIN_PASSWORD_MISSING)