-
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
aws-cdk-lib: Version >=2.99.1 Cannot find module './aspect' #27469
Comments
I'm unable to reproduce this under macos 13/yarn 1.22.18/cdk 2.99.1 |
@indrora could you please attempt a reproduction on wsl? |
I can't replicate on WSL. |
@kellertk can you replicate this? |
Thank you very much for your assist @indrora @peterwoodworth! A colleague of mine suggested to execute Appreciate your help! |
|
Describe the bug
For some unknown reason with cdk version >=2.99.1 I always get an error on any cdk command.
For example if I run
yarn cdk synth
synth I get an error.When I run the same command on cdk version
2.99.0
everything works as expected.However, this is only reproducable on one of my two machines.
Expected Behavior
I expect any cdk command succeed in this example I expect following output:
Current Behavior
When I run
yarn cdk synth
I get following error:Reproduction Steps
yarn install
yarn cdk synth
Possible Solution
No response
Additional Information/Context
I really dont know why this happens only on this one machine and how it differs with the other.
I made a fresh git clone + install of the reproducer.
Also if I switch to branch cdk-2.99.0 where I only downgraded aws-cdk-lib and aws-cdk, everything works again.
CDK CLI Version
2.99.1
Framework Version
No response
Node.js Version
v18.18.0
OS
windows 11 (0.0.22621 Build 22621) on wsl 1.2.5.0
Language
TypeScript
Language Version
5.2.2
Other information
Release 2.99.1 contains only one bug fix change (see https://github.com/aws/aws-cdk/releases/tag/v2.99.1) so it needs to be related with PR #27314, which only changed 3 files.
The text was updated successfully, but these errors were encountered: