CDK8s 2.x.x, RangeError: Maximum call stack size exceeded
See original GitHub issueall cdk8s:“1.x.x” working great, this only happens with "dependencies": { "cdk8s": "^2.x.x", ...
/home/ubuntu/IdeaProjects/cdk8s/node_modules/cdk8s/lib/_resolve.js:5 function resolve(value) { ^
RangeError: Maximum call stack size exceeded at resolve (/home/ubuntu/IdeaProjects/cdk8s/node_modules/cdk8s/lib/_resolve.js:5:17) at resolve (/home/ubuntu/IdeaProjects/cdk8s/node_modules/cdk8s/lib/_resolve.js:27:21) at resolve (/home/ubuntu/IdeaProjects/cdk8s/node_modules/cdk8s/lib/_resolve.js:27:21) at resolve (/home/ubuntu/IdeaProjects/cdk8s/node_modules/cdk8s/lib/_resolve.js:27:21) at resolve (/home/ubuntu/IdeaProjects/cdk8s/node_modules/cdk8s/lib/_resolve.js:27:21) at resolve (/home/ubuntu/IdeaProjects/cdk8s/node_modules/cdk8s/lib/_resolve.js:27:21) at resolve (/home/ubuntu/IdeaProjects/cdk8s/node_modules/cdk8s/lib/_resolve.js:27:21) at resolve (/home/ubuntu/IdeaProjects/cdk8s/node_modules/cdk8s/lib/_resolve.js:27:21) at resolve (/home/ubuntu/IdeaProjects/cdk8s/node_modules/cdk8s/lib/_resolve.js:27:21) at resolve (/home/ubuntu/IdeaProjects/cdk8s/node_modules/cdk8s/lib/_resolve.js:27:21) Error: command "node main.js " at /home/ubuntu/IdeaProjects/cdk8s returned a non-zero exit code 1 at ChildProcess.<anonymous> (/home/ubuntu/IdeaProjects/cdk8s/node_modules/cdk8s-cli/lib/util.js:50:27) command "node main.js " at /home/ubuntu/IdeaProjects/cdk8s returned a non-zero exit code 1
at Object.onceWrapper (node:events:510:26)
at ChildProcess.emit (node:events:390:28)
at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
Task :cdk8s_build FAILED
Execution failed for task ‘:cdk8s_build’.
Process ‘command ‘/home/ubuntu/IdeaProjects/cdk8s/.gradle/npm/npm-v8.11.0/bin/npm’’ finished with non-zero exit value 1
- Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. `
Issue Analytics
- State:
- Created a year ago
- Comments:7 (1 by maintainers)
Hello, I just hit same error with this sample code:
Versions:
I’ve run into the same issue with HorizontalPodAutoscaler. HPA doesn’t appear to support another way of specifying the target.