aws-microservices icon indicating copy to clipboard operation
aws-microservices copied to clipboard

esbuild cannot run locally

Open andyRokit opened this issue 1 year ago • 1 comments

When I run cdk deploy (or cdk synth) I receive the following error:

Bundling asset AwsMicroservicesStack/Microservices/productLambdaFunction/Code/Stage...
esbuild cannot run locally. Switching to Docker bundling.
✘ [ERROR] Could not resolve "@aws-sdk/client-dynamodb"

See full console output

This may be related to https://github.com/aws/aws-cdk/pull/14914/files (which apparently fixed the issue for CDK v1).

andyRokit avatar Jul 17 '22 15:07 andyRokit