https://serverless-stack.com/ logo
#help
Title
# help
b

Bshr Ramadan

03/20/2022, 11:05 PM
I am getting this error after updating to 0.69.2
Copy code
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 14.0.0, but found 16.0.0)
f

Frank

03/21/2022, 5:17 AM
Hi @Bshr Ramadan, can I see the SST and CDK versions in ur package.json?
b

Bshr Ramadan

03/21/2022, 9:56 PM
Copy code
"@aws-cdk/aws-apigatewayv2-alpha": "2.15.0-alpha.0",
    "@aws-cdk/aws-apigatewayv2-authorizers-alpha": "2.15.0-alpha.0",
    "@serverless-stack/cli": "0.69.2",
    "@serverless-stack/resources": "0.69.2",
    "@sls-next/lambda-at-edge": "^3.7.0-alpha.7",
    "aws-cdk-lib": "2.15.0",
@Frank
f

Frank

03/22/2022, 3:12 AM
hmm.. that’s really weird. Can you try removing the
node_modules
folder and the `yarn.lock`/`package-lock.json` and install again?
a

AR

03/22/2022, 10:29 PM
yeah running into this as well, tried remove those and reinstalling
f

Frank

03/23/2022, 3:18 AM
@AR did reinstalling work for you?
a

AR

03/23/2022, 5:04 PM
i was seeing the issue with anything
0.69.0
and above. downgrading to
0.68.0
resolved it. my process was upgrading
@serverless-stack/resources
and
@serverless-stack/cli
to
0.69.2
, removing
yarn.lock
and
node_modules
, and doing a reinstall.
t

thdxr

03/23/2022, 10:42 PM
@Bshr Ramadan what os are you using
also is this the new graphql stack by any chance?
b

Bshr Ramadan

03/23/2022, 11:43 PM
Windows @thdxr I have a stack uses apollographql, which I renamed it to the new name
f

Frank

03/24/2022, 2:34 AM
@Bshr Ramadan @AR are you guys also using the
static-site-env
package in ur frontend? Can you try updating that to the same version as
@serverless-stack/resources
and see if that fixes the issue?
b

Bshr Ramadan

03/28/2022, 4:59 PM
Hey @Frank Sorry for my late response I think that's the reason of the error, I've updated it and that error has disappeared, thanks
a

AR

03/29/2022, 9:04 PM
bingo thanks Frank think this resolved it
2 Views