CLI and Framework compatibility - confusing error message
See original GitHub issueWhen using framework version 1.38.0
with CLI version 1.36.0
, running cdk synth
throws
the following error:
Cloud assembly schema version mismatch: Maximum schema version supported is 1.33.0,
but found 2.0.0. Please upgrade your CLI in order to interact with this app.
While it’s clear to me that I need to upgrade the CLI version, I see two problems with this error message:
- ~This is probably a bug, but it seems like the check compares two different things as the versions compared are off by a major version,
2.0.0
and1.33.0
.~ This is not a bug there was a major version bump of the scheme. - The use of the term
Cloud assembly
in such a basic functionality of the CDK seems like it can be confusing for many users. While the term is well defined in the CDK documentation I don’t think it’s common among users. Since the action required from the user is to update the CLI I don’t see the added a value of usingCloud assembly
in here.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:8
- Comments:12 (6 by maintainers)
Top Results From Across the Web
symbol collision being reported on… | Apple Developer Forums
When running various tools, such as "opendiff" I receive the following error reported on stderr: objc[6599]: Class AMSupportURLConnectionDelegate is implemented ...
Read more >It was not possible to find any compatible framework version ...
Here's a version of your Error Message to make clear what's happening: The specified framework 'Microsoft.NETCore.App', version '2.1.6' was ...
Read more >Errors | Cloud APIs - Google Cloud
Error Codes; Error Messages; Error Details; Error Info; Error Localization. Error Mapping ... `errors` for backward compatibility with [Google API Client
Read more >Mocha - the fun, simple, flexible JavaScript test framework
Mocha is a feature-rich JavaScript test framework running on Node.js and in the browser, making asynchronous testing simple and fun.
Read more >Terraform 0.12 Compatibility for Providers
You may see these version numbers in error messages in the event of a protocol compatibility problem. Upgrading to the latest Terraform SDK....
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
~Excuse my ignorance on this one but have just hit this error message and can’t seem to figure out which version this is referring to and what needs to be upgraded. Does anyone have the fix for this?~ Was being a noob, run
npm install -g aws-cdk
to upgrade the CDK CLI.@NetaNir you can try to reinstall cdk.
npm uninstall -g cdk
and thennpm install -g aws-cdk