I’m deploying an SST app for the first time using ...
# seed
r
I’m deploying an SST app for the first time using Seed. The app deploys fine using
sst deploy
but when using Seed it fails with lots of missing aws-cdk dependencies. Here’s some of them
Copy code
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?
f
Let me take a look at the build.
r
It looks like downgrading npm to v6 has done the trick, thanks for the pointer.