Error: (node:13632) UnhandledPromiseRejectionWarning: FetchError: request to https://cloudmanager.adobe.io/api/programs failed, reason: unable to get local issuer certificate at ClientRequest.<anonymous> (C:\Users\ssss\AppData\Local\@adobe\aio-
command --> aio cloudmanager:environment:list-variables
Error:
(node:13632) UnhandledPromiseRejectionWarning: FetchError: request to https://cloudmanager.adobe.io/api/programs failed, reason: unable to get local issuer certificate
at ClientRequest.<anonymous> (C:\Users\ssss\AppData\Local\@adobe\aio-cli\node_modules\node-fetch\lib\index.js:1483:11)
at ClientRequest.emit (events.js:400:28)
at TLSSocket.socketErrorListener (_http_client.js:475:9)
at TLSSocket.emit (events.js:400:28)
at emitErrorNT (internal/streams/destroy.js:106:8)
at emitErrorCloseNT (internal/streams/destroy.js:74:3)
at processTicksAndRejections (internal/process/task_queues.js:82:21)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:13632) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:13632) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Node version: v14.18.1
npm version: 8.1.3
have set the programid, org and environment ids as well.