Sam Frampton
06/30/2021, 11:59 AMsst start
to develop lambda locally. I run the command and I get the response Unknown script "start".
Sam Frampton
06/30/2021, 11:59 AM{
"name": "infrastructure",
"version": "0.1.7",
"private": true,
"scripts": {
"test": "sst test",
"start": "sst start",
"build": "sst build",
"deploy": "sst deploy",
"remove": "sst remove"
},
"devDependencies": {
"@aws-cdk/assert": "1.61.0",
"eslint": "^7.15.0"
},
"dependencies": {
"@aws-cdk/aws-cognito": "1.61.0",
"@aws-cdk/aws-dynamodb": "1.61.0",
"@aws-cdk/aws-iam": "1.61.0",
"@aws-cdk/aws-s3": "1.61.0",
"@aws-cdk/aws-sns": "1.61.0",
"@aws-cdk/aws-sns-subscriptions": "1.61.0",
"@aws-cdk/aws-sqs": "1.61.0",
"@aws-cdk/core": "1.61.0",
"@serverless-stack/cli": "0.4.3",
"@serverless-stack/resources": "0.4.3",
"eslint-plugin-import": "^2.22.1"
}
}
^^ package.jsonRoss Coundon
06/30/2021, 11:59 AMnpx sst start
Sam Frampton
06/30/2021, 12:00 PMRoss Coundon
06/30/2021, 12:01 PM"@serverless-stack/cli": "0.30.0",
"@serverless-stack/resources": "0.30.0",
So your versions look a bit weirdSam Frampton
06/30/2021, 12:01 PMRoss Coundon
06/30/2021, 12:02 PM"@aws-cdk/core": "1.105.0",
"@aws-cdk/assert": "1.105.0",
These are the supported versions of the AWS componentsSam Frampton
06/30/2021, 12:02 PMRoss Coundon
06/30/2021, 12:02 PMnpx create-serverless-stack@latest my-sst-app
and take the dependencies from thatSam Frampton
06/30/2021, 12:03 PMSam Frampton
06/30/2021, 4:27 PMRoss Coundon
06/30/2021, 4:27 PM