-
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
(general): hundreds of nested cdk.out/asset directories in %temp% broke Windows #11730
Comments
Hi @beatyt! Sorry about that! To help us debug this, can you share if this happen after upgrading your CDK version? If so, what version were you upgrading from? Thanks! |
Hey @beatyt, Thanks for reporting this, and sorry you ran into it! It would be super helpful to get a little more information on this so we can better investigate and try to reproduce. The following info would be great:
That should give us enough to start looking into what caused this 😄 😸 😷 |
I've just been playing with CDK off and on. Not really a previous version that I can say worked. I have a mix of versions: https://github.com/beatyt/typescript-web-api-with-aws-cdk/blob/master/infrastructure/package.json#L34 so I should probably fix those and upgrade to latest.
Sample project: https://github.com/beatyt/typescript-web-api-with-aws-cdk/tree/master/infrastructure The project is broken into an ./application and ./infrastructure directory, the CDK stuff is in ./infrastructure. |
After reviewing the CDK code it all looks kosher, I dont see a reason the code itself would cause this; especially since you don't seem to have any assets to deploy. HOWEVER, I am surprised you are able to get the code to synth at all since we have a requirement that all packages in the project share a version (having different versions should cause synth-time exceptions). So with that said, my suggestion is to first update all the packages to the same version (latest or otherwise), and see if that fixes the problem. If not, I can keep digging. 😸 😷 |
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
❓ General Issue
The Question
Original problem: Windows machine after a restart was hanging at "Please wait for the User Profile Service" [1]. I let it run over night and had no success.
After some investigating, I tried to delete my user %TEMP% directory. The only thing that failed to delete was a CDK.out asset directory. I used robocopy to delete the many nested directories. [2] [3] [4]
Resolution: After 30 minutes of running a command, all of the nested directories were deleted and I was able to restart my machine.
It should be noted I've also been using VSCode as my IDE. It could be contributing or causing the issue as well?
Environment
Other information
(#1) The original problem and error message.
(#2) Many nested cdk.out asset directories
(#3) Running the delete
(#4) The result of deletion -
robocopy newTempFolder Temp /purge
was the command I ran to delete everything in TempThank you and please let me know if anything needs clarifying or more info. I can share the CDK project I was playing with if that would help.
The text was updated successfully, but these errors were encountered: