Skip to content

(cdk synth): incorrect and confused message about spawnSync docker ENOENT #22997

@unchaptered

Description

@unchaptered

Describe the issue

About incorrect and confused error meesage in aws-cdk


I think, spawnSync docker ENOENT is very confused message to some developer.

When I use aws synth, aws destory and aws deploy, I encounter that error.
IT feels HEY! Your docker or docker image have some error! to developer, using AWS CDK LIB(node.js).

And when search about this error, I can't find any solution to me, except DOCKER in aws/aws-cdk repo.

But, actually this error is occured by esbuild is not installed in local computer.

After install esbuild in project, I should fix this error.
So, I think aws-cdk changes this error message for all node.js developer, please.

Links

MY clone project and issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliIssues related to the CDK CLIdocumentationThis is a problem with documentation.effort/smallSmall work item – less than a day of effortfeature-requestA feature should be added or improved.good first issueRelated to contributions. See CONTRIBUTING.mdos/windowsRelated specifically to Windows behaviorp2package/toolsRelated to AWS CDK Tools or CLI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions