Hey, I'm getting linting making a test on a stack ...
# help
d
Hey, I'm getting linting making a test on a stack that extends
sst.Stack
in sst v0.45.2 and cdk v 1.125.0 I'm trying to create a
Template
from the stack in my test and it's saying Type 'NewStack' is missing the following properties from type 'Stack': regionalFact, bundlingRequired
Could it be version mismatches like, I had the
@aws-cdk/assert
library but I had to install
assertions
because I didn't have it, could it be that the cdk version is too low?
f
Hey @David Garcia, yeah, the error does sound like version mismatch.
If I recall correctly,
Template
is something added in CDK
v2
and v0.45.2 was still on CDK
v1
.
I might be wrong, it’s been a while back.