Jackson Bowe
03/15/2022, 5:46 AMPS D:\Projects\Mafia\my-sst-app> npx sst start
Using stage: dev
Preparing your SST app
=======================
Deploying debug stack
=======================
Usage: cdk -a <cdk-app> COMMAND
Commands:
cdk.js list [STACKS..] Lists all stacks in the app [aliases: ls]
... more of the same
... more of the same
If your app has a single stack, there is no need to specify the stack name
If one of cdk.json or ~/.cdk.json exists, options specified there will be used
as defaults. Settings in cdk.json take precedence.
There was an error synthesizing your app.
PS D:\Projects\Mafia\my-sst-app>
Best guess is that npx sst start
isn't providing any commands when calling cdk
.
I'd appreciate any assistance with this because it's got me pretty confused 😄
CheersMirza
03/15/2022, 6:16 AMsrc
stacks
sst.json
package.json
.env
Jackson Bowe
03/15/2022, 6:24 AMJackson Bowe
03/15/2022, 6:24 AMJackson Bowe
03/16/2022, 5:27 AMFrank
Frank
Jackson Bowe
03/18/2022, 12:07 AM{
"name": "my-sst-app",
"version": "0.1.0",
"private": true,
"scripts": {
"test": "sst test",
"start": "sst start",
"build": "sst build",
"deploy": "sst deploy",
"remove": "sst remove"
},
"eslintConfig": {
"extends": [
"serverless-stack"
]
},
"dependencies": {
"@serverless-stack/cli": "0.69.0",
"@serverless-stack/resources": "0.69.0",
"aws-cdk-lib": "2.15.0"
}
}
Command I ran was npx create-serverless-stack@latest my-sst-app
Jackson Bowe
03/18/2022, 12:09 AMnpx sst start
because of above error. But on a random laptop I had around, it worked fine.Frank
Frank
0.69.2
a try? I just fixed a Windows specific issue. Could be related to this 🤔Frank
0.69.0
for both the cli
and resources
dependencies to 0.69.2
and then npm/yarn install
Frank
Jackson Bowe
03/20/2022, 1:27 AMFrank
./bin/cdk
Instead we had to invoke it like this
node bin/cdk
Linux wasn’t affected 😔Jackson Bowe
03/22/2022, 5:34 AM