Running `npm ci` in AWS CodePipeline fails: "Cannot read property 'aws-cdk-lib' of undefined"
I came across some strange behaviour when calling npm ci within an AWS CodePipeline. The NPM docs recommend using npm ci ("clean install") instead of npm install in automated environments. The AWS CDK docs follow this recommendation in their CDK…