-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cli: compatibility with node v21 #28242
Comments
I can confirm this issue. Stacktracejsii.errors.JavaScriptError: @jsii/kernel.RuntimeError: Error: ENOENT: no such file or directory, open 'cdk.out/tree.json' at Kernel._Kernel_ensureSync (/tmp/tmpgc0na0y3/lib/program.js:10491:23) at Kernel.invoke (/tmp/tmpgc0na0y3/lib/program.js:9855:102) at KernelHost.processRequest (/tmp/tmpgc0na0y3/lib/program.js:11699:36) at KernelHost.run (/tmp/tmpgc0na0y3/lib/program.js:11659:22) at Immediate._onImmediate (/tmp/tmpgc0na0y3/lib/program.js:11660:46) at process.processImmediate (node:internal/timers:478:21) Downgrading Node.js to v20.10.0 resolved the issue. |
@juweeks , could you please share the specific scenario (repro code) where you faced this issue? |
There really isn't a specific scenario here.
|
@juweeks CDK is not fully tested in node v21 and we suggest to go to v20 instead. |
understood. that's why this is a feature request and not a bug report. would like to request that cdk be compatible with v21 if it's neither on a roadmap nor previously requested. |
We are unlikely to work on this since 20 and 22 are both stable Node versions and 21 is not. |
Comments on closed issues and PRs are hard for our team to see. |
Describe the feature
synthing with node v21 results in
RuntimeError: Error: ENOENT: no such file or directory, open 'cdk.out/tree.json'
Use Case
node v21 was released 10/2023 and is the latest stable version
Proposed Solution
No response
Other Information
No response
Acknowledgements
CDK version used
2.113.0
Environment details (OS name and version, etc.)
mac 13.6.1
The text was updated successfully, but these errors were encountered: