Alexandru Simandi
05/05/2022, 8:29 PM1.0.2
went fine up to this error that I cannot wrap my head around, used to work fine on 0.65.5
node_modules/aws-cdk/lib/diff.d.ts:1:26 - error TS2307: Cannot find module '@aws-cdk/cloudformation-diff' or its corresponding type declarations.
1 import * as cfnDiff from '@aws-cdk/cloudformation-diff';
The current fix is to install the dependency myself: "@aws-cdk/cloudformation-diff": "2.23.0"
, is this a bug on aws side?Alexandru Simandi
05/05/2022, 8:33 PMalex@DESKTOP-1L6763D:~/projects/verified/blueprint-lambda$ npx sst diff
Look like you're running sst for the first time in this directory. Please enter a stage name you'd like to use locally. Or hit enter to use the one based on your AWS credentials (alexandru-simandi-code11-com): alexs
Using stage: alexs
Preparing your SST app
Update the following AWS CDK packages to v2:
- @aws-cdk/cloudformation-diff
More details on upgrading to CDK v2: <https://github.com/serverless-stack/serverless-stack/releases/tag/v0.59.0>
AWS CDK packages need to be updated.
Alexandru Simandi
05/05/2022, 8:33 PMalex@DESKTOP-1L6763D:~/projects/verified/blueprint-lambda$ npx sst -v
SST: 1.0.2
CDK: 2.20.0
Alexandru Simandi
05/05/2022, 8:39 PMsst start
actually workedFrank
Alexandru Simandi
05/06/2022, 10:01 AMnpx run tsc --noEmit
was still popping errors. Baby steps. Great progress anyway! Thumbs up to typescript