CDK deploy: (Cloud assembly schema version mismatch: Maximum schema version supported is 14.0.0, but found 15.0.0)
See original GitHub issueWhat 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:
- Created 2 years ago
- Comments:5
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@gladykov Install the same version of cdk as your
aws-cdk
packages. For:Install
npm -g install aws-cdk@1.154.0
But what was acutal fix?