Rayaan Hussain
03/23/2022, 11:21 AMnpm run start works fine but npm run deploy gives an error Resource handler returned message: "Unzipped size must be smaller than 262144000 bytes" . I’m guessing this is because it is uploading _*node_modules*_ as I’m not using any python imports_*.*_ How can I prevent _*node_modules*_ from being deployed?Ross Coundon
03/23/2022, 11:48 AMRayaan Hussain
03/23/2022, 12:26 PMthdxr
03/23/2022, 1:01 PMsrcPaththdxr
03/23/2022, 1:01 PMsrc in that exampleFrank
node_modules should be at ur root, and SST is only zipping up src as the Lamba package.Frank
sst build , and then go into .build/cdk.out, you should be able to see the Lambda packages created. You can check what is taking up the most space.