I am getting this error after updating to 0.69.2 `...
# help
b
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
Hi @Bshr Ramadan, can I see the SST and CDK versions in ur package.json?
b
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
hmm.. that’s really weird. Can you try removing the
node_modules
folder and the `yarn.lock`/`package-lock.json` and install again?
a
yeah running into this as well, tried remove those and reinstalling
f
@AR did reinstalling work for you?
a
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
@Bshr Ramadan what os are you using
also is this the new graphql stack by any chance?
b
Windows @thdxr I have a stack uses apollographql, which I renamed it to the new name
f
@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
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
bingo thanks Frank think this resolved it