Synth NodejsFunction: Error: ENOTEMPTY: directory not empty, rmdir #32098
Labels
bug
This issue is a bug.
closing-soon
This issue will automatically close in 4 days unless further comments are made.
p2
package/tools
Related to AWS CDK Tools or CLI
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the bug
cdk synth
fails if a prior synth exists incdk.out
with the error:Regression Issue
Last Known Working CDK Version
Unknown, I tried prior versions and was not able to find one that worked. This was working for me about a week ago and then suddenly stopped.
Expected Behavior
A successful synth
Current Behavior
See description
Reproduction Steps
I have not had the time to rebuild a project to see if it happens with the lambda definition in a fresh project.
This is the lambda definition though:
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.166.0
Framework Version
2.166.0
Node.js Version
v20.10.0
OS
Windows 11 Enterprise 22621.4169
Language
TypeScript
Language Version
4.9.5
Other information
No response
The text was updated successfully, but these errors were encountered: