Camilo Rios
02/13/2021, 2:48 PMCloud assembly schema version mismatch: Maximum schema version supported is 7.0.0, but found 9.0.0
When building locally I noticed that the manifest.json
version created has version 9.0.0, not sure if its related and how to fix it. Does anyone run into a similar issue? Thanks!Frank
Frank
Frank
Camilo Rios
02/13/2021, 3:13 PMFrank
Camilo Rios
02/13/2021, 4:08 PMCamilo Rios
02/13/2021, 4:12 PMCamilo Rios
02/13/2021, 4:12 PMError: This CDK CLI is not compatible with the CDK library used by your application. Please upgrade the CLI to the latest version.
(Cloud assembly schema version mismatch: Maximum schema version supported is 7.0.0, but found 9.0.0)
at createAssembly (/tmp/seed/source/node_modules/sst-cdk/lib/api/cxapp/exec.ts:88:15)
at Object.execProgram (/tmp/seed/source/node_modules/sst-cdk/lib/api/cxapp/exec.ts:79:10)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at CloudExecutable.doSynthesize (/tmp/seed/source/node_modules/sst-cdk/lib/api/cxapp/cloud-executable.ts:67:24)
at CloudExecutable.synthesize (/tmp/seed/source/node_modules/sst-cdk/lib/api/cxapp/cloud-executable.ts:53:29)
at CdkToolkit.selectStacksForDiff (/tmp/seed/source/node_modules/sst-cdk/lib/cdk-toolkit.ts:497:22)
at CdkToolkit.synth (/tmp/seed/source/node_modules/sst-cdk/lib/cdk-toolkit.ts:381:20)
at Object.synth (/tmp/seed/source/node_modules/sst-cdk/lib/serverless-stack.ts:84:15)
at Object.synth (/tmp/seed/source/node_modules/@serverless-stack/core/index.js:17:10)
at synth (/tmp/seed/source/node_modules/@serverless-stack/cli/scripts/util/cdkHelpers.js:378:15)
error Command failed with exit code 1.
info Visit <https://yarnpkg.com/en/docs/cli/run> for documentation about this command.
ERROR: (Cloud assembly schema version mismatch: Maximum schema version supported is 7.0.0, but found 9.0.0)
Frank
Frank
Frank
Frank
yarn.lock
, run yarn, and commit the yarn.lock
file?Frank
Camilo Rios
02/13/2021, 5:12 PM{
"devDependencies": {
"@aws-cdk/assert": "1.89.0",
"@types/aws-lambda": "^8.10.70"
},
"dependencies": {
"@serverless-stack/cli": "0.9.2",
"@serverless-stack/resources": "0.9.2",
"@aws-cdk/core": "1.89.0"
}
}
Camilo Rios
02/13/2021, 5:13 PMCamilo Rios
02/13/2021, 5:13 PMCamilo Rios
02/13/2021, 5:35 PMCamilo Rios
02/13/2021, 5:36 PM@serverless-stack/cli
?Frank
Frank
Camilo Rios
02/13/2021, 5:38 PMFrank
Frank
Camilo Rios
02/13/2021, 5:57 PMFrank
Camilo Rios
02/13/2021, 6:43 PM