Whilst working on my AWS CDK project for educational purposes, I found myself immersed in learning TypeScript, node.js, npm, and all related concepts simultaneously. Despite the mishap that occurred, requiring me to restart from the Github repository rather than my local copy, everything seemed to be going smoothly.
After cloning the Github repository onto my computer, I proceeded to run npm install
to install dependencies followed by cdk synth
, which had been functioning perfectly just moments before the need to clone the repo.
To my surprise, the command now took an eternity to execute. Upon investigation, I discovered that it was generating recursive cdk.out directories like this:
https://i.sstatic.net/WOCyp.png
If anyone could shed some light on what might be causing this issue, I would greatly appreciate it :)