AxiosError: getaddrinfo ENOTFOUND api.enode.com
 at AxiosError.from (/Users/alexandermudespacher/Sites/enode\_api\_app/node\_modules/axios/dist/node/axios.cjs:825:14)
 at RedirectableRequest.handleRequestError (/Users/alexandermudespacher/Sites/enode\_api\_app/node\_modules/axios/dist/node/axios.cjs:2973:25)
 at RedirectableRequest.emit (node:events:513:28)
 at eventHandlers. (/Users/alexandermudespacher/Sites/enode\_api\_app/node\_modules/follow-redirects/index.js:14:24)
 at ClientRequest.emit (node:events:513:28)
 at TLSSocket.socketErrorListener (node:\_http\_client:494:9)
 at TLSSocket.emit (node:events:513:28)
 at emitErrorNT (node:internal/streams/destroy:151:8)
 at emitErrorCloseNT (node:internal/streams/destroy:116:3)
 at process.processTicksAndRejections (node:internal/process/task\_queues:82:21) {
 hostname: 'api.enode.com',
 syscall: 'getaddrinfo',
 code: 'ENOTFOUND',
 errno: -3008,
 config: {
 transitional: {
 silentJSONParsing: true,
 forcedJSONParsing: true,
 clarifyTimeoutError: false
 },
 adapter: [ 'xhr', 'http' ],
 transformRequest: [ [Function: transformRequest] ],
 transformResponse: [ [Function: transformResponse] ],
 timeout: 0,
 xsrfCookieName: 'XSRF-TOKEN',
 xsrfHeaderName: 'X-XSRF-TOKEN',
 maxContentLength: -1,
 maxBodyLength: -1,
 env: { FormData: [Function], Blob: [class Blob] },
 validateStatus: [Function: validateStatus],
 headers: AxiosHeaders {
 Accept: 'application/json, text/plain, \*/\*',
 Authorization: 'Bearer your\_api\_key',
 'User-Agent': 'axios/1.3.4',
 'Accept-Encoding': 'gzip, compress, deflate, br'
 },
 method: 'get',
 url: 'https://api.enode.com/v1/vehicles',
 data: undefined
 },
 request: Writable {
 \_writableState: WritableState {
 objectMode: false,
 highWaterMark: 16384,
 finalCalled: false,
 needDrain: false,
 ending: false,
 ended: false,
 finished: false,
 destroyed: false,
 decodeStrings: true,
 defaultEncoding: 'utf8',
 length: 0,
 writing: false,
 corked: 0,
 sync: true,
 bufferProcessing: false,
 onwrite: [Function: bound onwrite],
 writecb: null,
 writelen: 0,
 afterWriteTickInfo: null,
 buffered: [],
 bufferedIndex: 0,
 allBuffers: true,
 allNoop: true,
 pendingcb: 0,
 constructed: true,
 prefinished: false,
 errorEmitted: false,
 emitClose: true,
 autoDestroy: true,
 errored: null,
 closed: false,
 closeEmitted: false,
 [Symbol(kOnFinished)]: []
 },
 \_events: [Object: null prototype] {
 response: [Function: handleResponse],
 error: [Function: handleRequestError],
 socket: [Function: handleRequestSocket]
 },
 \_eventsCount: 3,
 \_maxListeners: undefined,
 \_options: {
 maxRedirects: 21,
 maxBodyLength: Infinity,
 protocol: 'https:',
 path: '/v1/vehicles',
 method: 'GET',
 headers: [Object: null prototype],
 agents: [Object],
 auth: undefined,
 beforeRedirect: [Function: dispatchBeforeRedirect],
 beforeRedirects: [Object],
 hostname: 'api.enode.com',
 port: '',
 agent: undefined,
 nativeProtocols: [Object],
 pathname: '/v1/vehicles'
 },
 \_ended: true,
 \_ending: true,
 \_redirectCount: 0,
 \_redirects: [],
 \_requestBodyLength: 0,
 \_requestBodyBuffers: [],
 \_onNativeResponse: [Function (anonymous)],
 \_currentRequest: ClientRequest {
 \_events: [Object: null prototype],
 \_eventsCount: 7,
 \_maxListeners: undefined,
 outputData: [],
 outputSize: 0,
 writable: true,
 destroyed: false,
 \_last: true,
 chunkedEncoding: false,
 shouldKeepAlive: false,
 maxRequestsOnConnectionReached: false,
 \_defaultKeepAlive: true,
 useChunkedEncodingByDefault: false,
 sendDate: false,
 \_removedConnection: false,
 \_removedContLen: false,
 \_removedTE: false,
 strictContentLength: false,
 \_contentLength: 0,
 \_hasBody: true,
 \_trailer: '',
 finished: true,
 \_headerSent: true,
 \_closed: false,
 socket: [TLSSocket],
 \_header: 'GET /v1/vehicles HTTP/1.1\r\n' +
 'Accept: application/json, text/plain, \*/\*\r\n' +
 'Authorization: Bearer your\_api\_key\r\n' +
 'User-Agent: axios/1.3.4\r\n' +
 'Accept-Encoding: gzip, compress, deflate, br\r\n' +
 'Host: api.enode.com\r\n' +
 'Connection: close\r\n' +
 '\r\n',
 \_keepAliveTimeout: 0,
 \_onPendingData: [Function: nop],
 agent: [Agent],
 socketPath: undefined,
 method: 'GET',
 maxHeaderSize: undefined,
 insecureHTTPParser: undefined,
 path: '/v1/vehicles',
 \_ended: false,
 res: null,
 aborted: false,
 timeoutCb: null,
 upgradeOrConnect: false,
 parser: null,
 maxHeadersCount: null,
 reusedSocket: false,
 host: 'api.enode.com',
 protocol: 'https:',
 \_redirectable: [Circular \*1],
 [Symbol(kCapture)]: false,
 [Symbol(kBytesWritten)]: 0,
 [Symbol(kEndCalled)]: true,
 [Symbol(kNeedDrain)]: false,
 [Symbol(corked)]: 0,
 [Symbol(kOutHeaders)]: [Object: null prototype],
 [Symbol(kUniqueHeaders)]: null
 },
 \_currentUrl: 'https://api.enode.com/v1/vehicles',
 [Symbol(kCapture)]: false
 },
 cause: Error: getaddrinfo ENOTFOUND api.enode.com
 at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26) {
 errno: -3008,
 code: 'ENOTFOUND',
 syscall: 'getaddrinfo',
 hostname: 'api.enode.com'
 }
}
/Users/alexandermudespacher/Sites/enode\_api\_app/index.js:9
 vehicles.forEach(async (vehicle) => {
 ^

TypeError: Cannot read properties of undefined (reading 'forEach')
 at main (/Users/alexandermudespacher/Sites/enode\_api\_app/index.js:9:12)
 at process.processTicksAndRejections (node:internal/process/task\_queues:95:5)

Node.js v18.12.1
xiosError: getaddrinfo ENOTFOUND api.enode.com 에서 AxiosError.from (/Users/alexandermudespacher/Sites/enode\_api\_app/node\_modules/axios/dist/node/axios.cjs:825:14) at RedirectableRequest.handleRequestError (/Users/alexandermudespacher/Sites/enode\_api\_app/node\_modules/axios/dist/node/axios.cjs:2973:25) at RedirectableRequest.emit (node:events:513:28) 에서 이벤트 핸들러. (/사용자/알렉산더뮤데스페이서/사이트/enode\_api\_app/node\_modules/follow-redirects/index.js:14:24) at ClientRequest.emit (node:events:513:28) at TLSSocket.socketErrorListener (node:\_http\_client:494:9) at TLSSocket.emit (node:events:513:28) at emitErrorNT (노드:내부/스트림/디스트로이:151:8) at emitErrorCloseNT (노드:내부/스트림/디스트로이:116:3) at process.processTicksAndRejections (node:internal/process/task\_queues:82:21) { 호스트 이름: 'api.enode.com', syscall: 'getaddrinfo', code: 'ENOTFOUND', errno: -3008, config: { transition: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, 어댑터: [ 'xhr', 'http' ], transformRequest: [ [함수: transformRequest] ], transformResponse: [ [Function: transformResponse] ], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'x-xsrf-token', maxContentLength: -1, maxBodyLength: -1, env: { FormData: [Function], Blob: [Blob 클래스] }, validateStatus: [Function: validateStatus], 헤더: AxiosHeaders { Accept: 'application/json, text/plain, \*/\*', Authorization: 'Bearer your\_api\_key', '사용자-에이전트': 'axios/1.3.4', 'Accept-Encoding': 'gzip, 압축, 압축해제, br' }, 메서드: 'get', url: 'https://api.enode.com/v1/vehicles', 데이터: 정의되지 않음 }, 요청: 쓰기 가능 { \_writableState: 쓰기 가능한 상태 { objectMode: false, highWaterMark: 16384, finalCalled: false, needDrain: false, ending: false, ended: false, finished: false, destroyed: false, decodeStrings: true, defaultEncoding: 'utf8', length: 0, writing: false, corked: 0, sync: true, bufferProcessing: false, onwrite: [함수: 바운드 온라이트], writecb: null, writelen: 0, afterWriteTickInfo: null, buffered: [], bufferedIndex: 0, allBuffers: true, allNoop: true, pendingcb: 0, constructed: true, prefinished: false, errorEmitted: false, emitClose: true, autoDestroy: true, errored: null, closed: false, closeEmitted: false, [Symbol(kOnFinished)]: [] }, \_events: [객체: null 프로토타입] { response: [함수: 핸들 응답], error: [함수: 핸들리퀘스트에러], 소켓: [함수: handleRequestSocket] }. }, \_eventsCount: 3, \최대 리스너: 정의되지 않음, \_옵션: { maxRedirects: 21, maxBodyLength: 무한대, 프로토콜: 'https:', 경로: '/v1/vehicles', method: 'GET', 헤더: [객체: null 프로토타입], 에이전트: [객체], auth: 정의되지 않음, beforeRedirect: [함수: dispatchBeforeRedirect], beforeRedirects: [Object], 호스트명: 'api.enode.com', port: '', 에이전트: 정의되지 않음, 네이티브 프로토콜: [객체], 경로명: '/v1/vehicles' }, \_ended: true, \_ending: true, \_redirectCount: 0, \_redirects: [], \요청 본문 길이: 0, \요청 바디 버퍼: [], \_onNativeResponse: [함수(익명)], \현재 요청: ClientRequest { \_events: [객체: 널 프로토타입], \_eventsCount: 7, \최대 리스너: 정의되지 않음, outputData: [], 출력크기: 0, writable: true, 파괴됨: 거짓, \last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, \_defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, \_removedConnection: false, \_removedContLen: false, \removedTE: false, strictContentLength: false, \_contentLength: 0, \hasBody: true, \_trailer: '', finished: true, \headerSent: true, \닫힘: 거짓, 소켓: [TLSSocket], \_header: 'GET /v1/vehicles HTTP/1.1\r\n' + 'Accept: application/json, text/plain, \*/\*\r\n' + 'Authorization: Bearer your\_api\_key\r\n' + 'Authorization: Bearer your\_api\_key\r\n' + '사용자-에이전트: axios/1.3.4\r\n' + 'Accept-Encoding: gzip, 압축, 압축해제, br\r\n' + 'Host: api.enode.com\r\n' + '연결: 닫기\r\n' + '\r\n' '\r\n', \_keepAliveTimeout: 0, \_onPendingData: [함수: nop], 에이전트: [에이전트], 소켓 경로: 정의되지 않음, 메서드: 'GET', maxHeaderSize: 정의되지 않음, insecureHTTPParser: 정의되지 않음, 경로: '/v1/vehicles', \_ended: false, res: null, aborted: false, timeoutCb: null, upgradeOrConnect: false, 파서: null, maxHeadersCount: null, 재사용 소켓: 거짓, host: 'api.enode.com', 프로토콜 'https:', \_redirectable: [원형 \*1], [Symbol(kCapture)]: false, [Symbol(kBytesWritten)]: 0, [Symbol(kEndCalled)]: true, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null 프로토타입], [Symbol(kUniqueHeaders)]: null }, \_currentUrl: 'https://api.enode.com/v1/vehicles', [Symbol(kCapture)]: false }, 원인: 오류: getaddrinfo ENOTFOUND api.enode.com 에서 GetAddrInfoReqWrap.onlookup [완료되지 않음으로] (node:dns:107:26) { 오류: -3008, code: 'ENOTFOUND', syscall: 'getaddrinfo', 호스트명: 'api.enode.com' }}/사용자/알렉산더무데스파처/Si