Ross Coundon
04/22/2021, 2:07 PMsst deploy
but when using Seed it fails with lots of missing aws-cdk dependencies. Here’s some of them
SST: 0.13.0
CDK: 1.98.0
Preparing your SST app
Detected tsconfig.json
Transpiling source
> node_modules/@aws-cdk/aws-apigateway/lib/restapi.js:6:27: error: Could not resolve "@aws-cdk/aws-cloudwatch" (mark it as external to exclude it from the bundle)
6 │ const cloudwatch = require("@aws-cdk/aws-cloudwatch");
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~
> node_modules/@aws-cdk/aws-dynamodb/lib/table.js:6:27: error: Could not resolve "@aws-cdk/aws-applicationautoscaling" (mark it as external to exclude it from the bundle)
6 │ const appscaling = require("@aws-cdk/aws-applicationautoscaling");
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> node_modules/@aws-cdk/aws-dynamodb/lib/table.js:7:27: error: Could not resolve "@aws-cdk/aws-cloudwatch" (mark it as external to exclude it from the bundle)
7 │ const cloudwatch = require("@aws-cdk/aws-cloudwatch");
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~
> node_modules/@aws-cdk/aws-dynamodb/lib/table.js:9:20: error: Could not resolve "@aws-cdk/aws-kms" (mark it as external to exclude it from the bundle)
9 │ const kms = require("@aws-cdk/aws-kms");
╵ ~~~~~~~~~~~~~~~~~~
> node_modules/@aws-cdk/aws-iam/lib/principals.js:7:30: error: Could not resolve "@aws-cdk/region-info" (mark it as external to exclude it from the bundle)
7 │ const region_info_1 = require("@aws-cdk/region-info");
Anyone know what could be causing this?Frank
Ross Coundon
04/22/2021, 10:03 PM