Skip to content

Deploy fails to execute in Codebuild #10

@gdowmont

Description

@gdowmont

Hey.

I am trying to use the plugin in AWS CodeBuild as part of the pipeline.

It fails with the following:

/codebuild/output/src304675747/src/node_modules/@codebrew/nx-aws-cdk/src/utils/executor.util.js:56
--
process.stdin.end();
 ^
  
TypeError: process.stdin.end is not a function
at ChildProcess.<anonymous> (/codebuild/output/src304675747/src/node_modules/@codebrew/nx-aws-cdk/src/utils/executor.util.js:56:27)
at ChildProcess.emit (events.js:387:35)
at maybeClose (internal/child_process.js:1055:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)

CodeBuild is non-TTY environment and it looks like the fix added here b5ef5c7 might be what is causing the issue as it always tries to execute this:

process.stdin.end();
process.stdin.removeListener('data', processExitListener);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions