aws/aws-cdk

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

Aberta

#22.997 aberto em 20 de nov. de 2022

 (7 comentários) (0 reação) (0 responsável)TypeScript (3.530 forks)batch import
clidocumentationeffort/smallfeature-requestgood first issueos/windowsp2package/tools

Métricas do repositório

Stars
 (10.710 estrelas)
Métricas de merge de PR
 (Mesclagem média 14d 11h) (68 fundiu PRs em 30d)

Description

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.

  • #8707
  • #9348

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.

Guia do colaborador