Skip to content

(pipelines): build failed during building aws-cdk, no export for CredentialProviderSource #19483

Closed

Description

@Mr-istov

What is the problem?

While working on some features on the pipelines module locally, the build failed when it tried to build aws-cdk.
This seems to be a regression from this PR #19324 from @rix0rrr.

After adding the CredentialProviderSource to the export members of the credentials.ts file, the build has succeeded.
I can provide a PR fix for this.

Reproduction Steps

Try to build the pipelines package.

cd packages/@aws-cdk/pipelines
../../../scripts/buildup

What did you expect to happen?

The build for the pipelines module to succeed.

What actually happened?

Error from build:

/aws-cdk/packages/aws-cdk: yarn build  (57 remaining)
yarn run v1.22.17
$ cdk-build
lib/plugin.d.ts(1,10): error TS2305: Module '"./api/aws-auth/credentials"' has no exported member 'CredentialProviderSource'.

CDK CLI Version

2.17.0

Framework Version

No response

Node.js Version

16.6.2

OS

macOS Monterey

Language

Typescript

Language Version

No response

Other information

No response

Activity

  1. added
    bugThis issue is a bug.
    needs-triageThis issue or PR still needs to be triaged.
    on Mar 20, 2022
  2. rix0rrr commented on Mar 21, 2022

    @rix0rrr
    Contributor

    The fact that master still builds proves that there is not an inherent problem in the source or the build:

    image

    You have old build artifacts lying around that are interfering with your build. Do a git clean, or as a shortcut run scripts/clean-stale-files.sh.

  3. added
    cause/not-a-bugNot a bug (might still be a documentation issue, might still need work)
    on Mar 21, 2022
  4. locked and limited conversation to collaborators on Mar 21, 2022
  5. converted this issue into a discussion #19495 on Mar 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

@aws-cdk/pipelinesCDK Pipelines librarybugThis issue is a bug.cause/not-a-bugNot a bug (might still be a documentation issue, might still need work)needs-triageThis issue or PR still needs to be triaged.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions