Skip to content

(general): hundreds of nested cdk.out/asset directories in %temp% broke Windows #11730

@beatyt

Description

@beatyt

❓ 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

  • CDK CLI Version: 1.74.0 (build e86602f)
  • Module Version: n/a
  • Node.js Version: v12.13.0
  • OS: Windows 10 Version 1909 (OS Build 18363.959)
  • Language (Version): TypeScript 4.0.3

Other information

(#1) The original problem and error message.
image
(#2) Many nested cdk.out asset directories
image
(#3) Running the delete
image
(#4) The result of deletion - robocopy newTempFolder Temp /purge was the command I ran to delete everything in Temp
image

Thank 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.

Metadata

Metadata

Assignees

Labels

closed-for-stalenessThis issue was automatically closed because it hadn't received any attention in a while.guidanceQuestion that needs advice or information.os/windowsRelated specifically to Windows behaviorresponse-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 7 days.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions