Please report this issue at https://github.com/apify/apify-cli/issues, and provide the following information:
- Error code: 9 (APIFY_UNKNOWN_ERROR)
- Error metadata: {}
- Stack:
Error: Unknown error: Unexpected end of JSON input
at CommandError.into (file:///opt/homebrew/lib/node_modules/apify-cli/dist/chunk-YCUUD3VH.js:63:680)
at runCLI (file:///opt/homebrew/lib/node_modules/apify-cli/dist/chunk-YCUUD3VH.js:66:1408)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async file:///opt/homebrew/lib/node_modules/apify-cli/dist/apify.js:2:108
- Arguments (!!!only provide these as is if there is no sensitive information!!!):
[“login”]
- CLI version: `apify-cli/1.3.0 (b61db41) running on darwin-arm64 with node-25.6.0, installed via npm`
- CLI debug logs (process.env.APIFY_CLI_DEBUG): Disabled
- Stdin data? No
Using
logincommand returnsAPIFY_UNKNOWN_ERROR.Slack thread: https://apify.slack.com/archives/C0L33UM7Z/p1774512640556819