美区cURL方式登录失败
login: login: curl_data: curl_data: (node:30824) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
(Use Code --trace-warnings ... to show where the warning was created)
(node:30824) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
(Use Code --trace-warnings ... to show where the warning was created)
node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise */);
^
[UnhandledPromiseRejection: 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(). The promise rejected with the reason "SELF_SIGNED_CERT_IN_CHAIN".] { code: 'ERR_UNHANDLED_REJECTION' }
Node.js v20.9.0 node:internal/process/promises:289 triggerUncaughtException(err, true /* fromPromise */); ^
[UnhandledPromiseRejection: 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(). The promise rejected with the reason "SELF_SIGNED_CERT_IN_CHAIN".] { code: 'ERR_UNHANDLED_REJECTION' }
Node.js v20.9.0