You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
(pipelines): build failed during building aws-cdk, no export for CredentialProviderSource #19483
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'.
Activity
rix0rrr commentedon Mar 21, 2022
The fact that
masterstill builds proves that there is not an inherent problem in the source or the build:You have old build artifacts lying around that are interfering with your build. Do a
git clean, or as a shortcut runscripts/clean-stale-files.sh.