-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
aws-cdk-lib: Error jsii.errors.JavaScriptError when running any CDK command #31508
Comments
Can't reproduce.
Did it happen when you just upgrade your CDK version to 2.159.1 without changing any code? Do you remember what you have changed?
You don't need With a fresh new cdk in python repo:
|
No it happened before the upgrade of the CDK, I just run a
No, I can't run
Last working version was 2.103.1, I tried reverting to that but no luck, the error is the same.
Yes they are the same I tried to run the example CDK in another system and it run without errors. So obviously something has broken in my current system. I also tried to restore the uninstalled packages but I got no luck either. Same error. It seems that I am missing something some dependency but can't figure out what. I think we can close this issue as it isn't directly related to the project. Thanks for looking @pahud I will report back if I manage to fix this somehow |
OK. Closing for now. Feel free to reopen if necessary. |
Comments on closed issues and PRs are hard for our team to see. |
Describe the bug
My CDK project isn't working anymore.
It used to work fine, but suddenly whenever I try to run any CDK command (list, bootstrap etc), I get an error.
I tried with different versions of the CDK library and different versions of Python but the error is the same, however I am unable to pinpoint the reason or figure out the solution.
The error I am getting is the following:
To make sure that the problem doesn't lie with my specific project, I created a new CDK project (with python language) from scratch by following the exact steps described here.
When I reach Step 3 and try to bootstrap the AWS environment, I get the error above.
Some information from my system
Virtual Environment
Regression Issue
Last Known Working CDK Version
2.103.1
Expected Behavior
The CDK command to work correctly without any errors
Current Behavior
I get an error whenever I try to run any CDK command
Reproduction Steps
Follow the steps described here to create a new CDK project with python language
Possible Solution
I am not sure
Additional Information/Context
No response
CDK CLI Version
2.159.1 (build c66f4e3)
Framework Version
No response
Node.js Version
v18.18.0
OS
Manjaro Linux
Language
Python
Language Version
3.12.5
Other information
No response
The text was updated successfully, but these errors were encountered: