acacode / acacode/swagger-typescript-api

RangeError: Maximum call stack size exceeded

未关闭
#659 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
4.1k
派生
436
PR 合并指标
30 天内没有已合并 PR

描述

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)

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。