I tried to log in using the browser. It provided me the link and opened in browser. however, I got this at the same time before even I confirm log in from the browser.
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:///home/arman/.nvm/versions/node/v20.20.2/lib/node_modules/apify-cli/dist/_register-CajzfhjZ.js:29:735)
at runCLI (file:///home/arman/.nvm/versions/node/v20.20.2/lib/node_modules/apify-cli/dist/_register-CajzfhjZ.js:30:2093)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:///home/arman/.nvm/versions/node/v20.20.2/lib/node_modules/apify-cli/dist/apify.js:2:112
-
Arguments (!!!only provide these as is if there is no sensitive information!!!):
["login"]
-
CLI version: apify-cli/1.8.0 (d647d15) running on linux-x64 with node-20.20.2, installed via npm
-
CLI debug logs (process.env.APIFY_CLI_DEBUG): Disabled
-
Stdin data? No
I tried to log in using the browser. It provided me the link and opened in browser. however, I got this at the same time before even I confirm log in from the browser.
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:///home/arman/.nvm/versions/node/v20.20.2/lib/node_modules/apify-cli/dist/_register-CajzfhjZ.js:29:735)
at runCLI (file:///home/arman/.nvm/versions/node/v20.20.2/lib/node_modules/apify-cli/dist/_register-CajzfhjZ.js:30:2093)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:///home/arman/.nvm/versions/node/v20.20.2/lib/node_modules/apify-cli/dist/apify.js:2:112
Arguments (!!!only provide these as is if there is no sensitive information!!!):
["login"]
CLI version:
apify-cli/1.8.0 (d647d15) running on linux-x64 with node-20.20.2, installed via npmCLI debug logs (process.env.APIFY_CLI_DEBUG): Disabled
Stdin data? No