Description
Describe the bug
Same bug as #33491
[Container] 2025/05/16 19:34:37.444087 Running command npm install -g cdk-assets@latest
29 | npm warn ERESOLVE overriding peer dependency
30 | npm warn While resolving: @aws-sdk/[email protected]
31 | npm warn Found: peer @aws-sdk/client-s3@"^3.812.0" from the root project
32 | npm warn
33 | npm warn Could not resolve dependency:
34 | npm warn peer @aws-sdk/client-s3@"^3.812.0" from the root project
35 | npm error code ETARGET
36 | npm error notarget No matching version found for @aws-sdk/client-s3@^3.812.0.
37 | npm error notarget In most cases you or one of your dependencies are requesting
38 | npm error notarget a package version that doesn't exist.
Regression Issue
- Select this option if this issue appears to be a regression.
Last Known Working CDK Library Version
No response
Expected Behavior
No installation errors.
Current Behavior
Installation errors.
Reproduction Steps
My pipeline:
const pipeline = new CodePipeline(this, 'pipeline', {
pipelineName: props.pipelineName,
synth: new ShellStep('synth', {
input: CodePipelineSource.codeCommit(
props.fromCodeCommitRepository,
props.fromCodeCommitBranch
),
commands: ['npm ci', 'npm run build', 'npx cdk synth'],
}),
})
Possible Solution
Additional Information/Context
No response
AWS CDK Library version (aws-cdk-lib)
AWS CDK CLI version
2.1016.0
Node.js Version
22
OS
mac
Language
TypeScript
Language Version
No response
Other information
No response