RangeError: Invalid array lengthRangeError: Invalid array length
An array was created with an invalid length, such as a negative number or a non-integer.
AggregateErrorAn error that wraps multiple errors, typically thrown when all promises in Promise.any() are rejected.
Promise.any() was called with an array of promises and all of them rejected. The AggregateError contains all individual rejection reasons in its .errors property. This can also be thrown manually to report multiple errors at once.
Access the .errors property to inspect individual failure reasons. Ensure at least one promise in your Promise.any() call has a chance to resolve. Handle each error in the array individually.
Promise.any([Promise.reject('a'), Promise.reject('b')]); // AggregateErrorRangeError: Invalid array lengthAn array was created with an invalid length, such as a negative number or a non-integer.
ERR_DLOPEN_FAILEDA native addon (C++ .node file) failed to load.
SyntaxError: Unexpected end of inputThe parser reached the end of the input while still expecting more code, usually due to unclosed brackets or strings.
URIErrorA global URI handling function (decodeURIComponent, encodeURI) received a malformed URI.
ERR_WORKER_OUT_OF_MEMORYA Worker thread ran out of memory.
ETIMEDOUTA connection or operation timed out because the remote host did not respond in time.