question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CDK deploy: (Cloud assembly schema version mismatch: Maximum schema version supported is 14.0.0, but found 15.0.0)

See original GitHub issue

What is the problem?

Since upgrading to v1.134 I am getting this error when running a CDK Deploy: (Cloud assembly schema version mismatch: Maximum schema version supported is 14.0.0, but found 15.0.0)

I get it locally on my new MacBook M1Max but also in Bitbucket Pipelines using image: node:12.16.1. v1.133 did not throw that error.

Locally I am running node 16 which gave me issues deploying my single page app to s3 (all files where empty) whilst running v1.68, hence the upgrade to 133. However with 134 I get this new error.

Overall, should I be running Node 14 or 16?

Reproduction Steps

Run node 14, try a deploy of Appsync API with s3 etc, and I am getting this error .

What did you expect to happen?

No error

What actually happened?

Error

CDK CLI Version

1.134.0 (build dd5e12d)

Framework Version

nodejs

Node.js Version

16

OS

osx

Language

Typescript

Language Version

No response

Other information

On bitbucket pipeline is running node 12.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
oorobetscommented, May 3, 2022

@gladykov Install the same version of cdk as your aws-cdk packages. For:

  "dependencies": {
    "@aws-cdk/aws-apigateway": "^1.154.0",
    "@aws-cdk/aws-route53-targets": "^1.154.0"
}

Install npm -g install aws-cdk@1.154.0

2reactions
gladykovcommented, Apr 29, 2022

I found out that aws-cdkwas having a mismatch. It was easy to not see that this package was not in sync since all the other packages start with @aws-cdk..

But what was acutal fix?

Read more comments on GitHub >

github_iconTop Results From Across the Web

‼️ NOTICE: aws-cdk CLI - "Cloud assembly schema version ...
NOTICE: aws-cdk CLI - "Cloud assembly schema version mismatch: Maximum schema version supported is 10.0.0, but found 11.0.0" #14738.
Read more >
How to solve CDK CLI version mismatch - Stack Overflow
I am installing the cdk cli with npm, and an uninstall followed by an install fixed the issue. npm -g uninstall aws-cdk npm...
Read more >
API reference - AWS Cloud Development Kit (AWS CDK) v2
Cloud assembly schema version mismatch : Maximum schema version supported is 3.0.0, but found 4.0.0. Please upgrade your CLI in order to interact...
Read more >
@aws-cdk/cloud-assembly-schema - npm
Cloud Assembly Schema. Latest version: 2.53.0, last published: 3 days ago. Start using @aws-cdk/cloud-assembly-schema in your project by ...
Read more >
Hi, I'm working on the AWS CLI and I keep getting | Chegg.com
This CDK CLI is not compatible with the CDK library used by your application. ... (cloud assembly schema version mismatch: Maximum schema version...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found