You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently after deleting our cache in github actions, the SST deploy no longer works because it doesn't like the SST satisfies, how can we proceed? We are unable to migrate to v3 at this moment and would like to get this working in the meantime.
`
import { SSTConfig } from "sst";
import { NextjsSite } from "sst/constructs";
import { AuthStack } from "./stacks/cognitoUserPoolStack";
import { Vpc, SubnetType } from "aws-cdk-lib/aws-ec2";
`
npx sst deploy --stage dev
(node:90441) NOTE: The AWS SDK for JavaScript (v2) is in maintenance mode.
SDK releases are limited to address critical bug fixes and security issues only.
Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check the blog post at https://a.co/cUPnyil
(Use node --trace-warnings ... to show where the warning was created)
Using stage: dev
Preparing your SST app
Mismatched versions of AWS CDK packages. SST currently supports 2.50.0. Fix using:
was related to sst versioning but not in the way you would expect... sometimes there are additional packages, either related or unrelated to the SST package within npm that can override dependencies which can cause weird problems like this.
Closing but keep an eye out for that, future coders...
Recently after deleting our cache in github actions, the SST deploy no longer works because it doesn't like the SST satisfies, how can we proceed? We are unable to migrate to v3 at this moment and would like to get this working in the meantime.
`
import { SSTConfig } from "sst";
import { NextjsSite } from "sst/constructs";
import { AuthStack } from "./stacks/cognitoUserPoolStack";
import { Vpc, SubnetType } from "aws-cdk-lib/aws-ec2";
export default {
config(_input : any) {
return {
name: "...",
region: "us-east-1",
};
},
stacks(app : any) {
},
} satisfies SSTConfig;
`
`
npx sst deploy --stage dev
(node:90441) NOTE: The AWS SDK for JavaScript (v2) is in maintenance mode.
SDK releases are limited to address critical bug fixes and security issues only.
Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check the blog post at https://a.co/cUPnyil
(Use
node --trace-warnings ...
to show where the warning was created)Using stage: dev
Preparing your SST app
Mismatched versions of AWS CDK packages. SST currently supports 2.50.0. Fix using:
npm install [email protected] --save-exact
Learn more about it here — https://docs.sst.dev/known-issues
✘ [ERROR] Expected ";" but found "satisfies"
Build failed with 1 error:
sst.config.ts:81:2: ERROR: Expected ";" but found "satisfies"
`
The text was updated successfully, but these errors were encountered: