acacode / acacode/swagger-typescript-api

RangeError: Maximum call stack size exceeded

Đang mở
#659 1 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
4.1k
Fork
436
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hi, i have a Problem using node 18.18.2 and swagger-typescript-api 13.0.3.
`npx swagger-typescript-api -p https://myurl/ -o ./my-output -n generated.ts --no-client --route-types` runs into a 'RangeError: Maximum call stack size exceeded'. As mentioned before, I use node node 18 and the current swagger-typescript-api version 13.0.3. My Typescript Version is 5.1.6. This is my Stacktrace:
`
.........../node_modules/http2-client/lib/request.js:128
return this[method](...arguments);
^
RangeError: Maximum call stack size exceeded
at Arguments.values ()
at ClientRequest.genericStubber (..../node_modules/http2-client/lib/request.js:128:26)
at ClientRequest.method (.../node_modules/http2-client/lib/request.js:44:23)
at ClientRequest.genericStubber (..../node_modules/http2-client/lib/request.js:128:26)
at ClientRequest.method (..../node_modules/http2-client/lib/request.js:44:23)
at ClientRequest.genericStubber (..../node_modules/http2-client/lib/request.js:128:26)
at ClientRequest.method (.../node_modules/http2-client/lib/request.js:44:23)
at ClientRequest.genericStubber (..../node_modules/http2-client/lib/request.js:128:26)
at ClientRequest.method (/home/..../node_modules/http2-client/lib/request.js:44:23)
at ClientRequest.genericStubber (.../node_modules/http2-client/lib/request.js:128:26)
`
I tried to google it and searched github issues but didn't find any solution. Does somebody have an advice?
I recently upgraded to the current versions. with node 14, "swagger-typescript-api": "9.3.1", and "typescript": "~4.4.4", it worked fine (bearbeitet)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.