Skip to content

esbuild cannot run locally #1

Open
@andyRokit

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions