https://serverless-stack.com/ logo
#sst
Title
# sst
b

Boris Tane

06/04/2022, 9:57 AM
👋 hey team! I just ran
npx create-serverless-stack my-app --language typescript
and the package.json generated is for a previous version of sst. I'm not sure if this is still the recommended way to bootstrap a new sst app. if it's not anymore, it's still on the marketing website package.json:
Copy code
{
  "name": "my-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"
    ]
  },
  "devDependencies": {
    "@tsconfig/node14": "^1.0.1",
    "@types/aws-lambda": "^8.10.70",
    "@types/node": "<15.0.0",
    "typescript": "4.4.4",
    "@serverless-stack/cli": "0.69.7",
    "@serverless-stack/resources": "0.69.7",
    "aws-cdk-lib": "2.15.0"
  },
  "dependencies": {}
}
f

Frank

06/05/2022, 9:32 PM
Hey @Boris Tane, where did u get that command from?
create-serverless-stack
has been renamed to
create-sst
. Try this:
Copy code
npx create-sst
or
Copy code
npm init sst
b

Boris Tane

06/05/2022, 9:37 PM
awesome, thanks! create-serverless-stack is on the homepage
s

Sean Matheson

06/06/2022, 5:50 AM
FYI, it is possible to mark a package as deprecated in NPM registry. 👍
f

Frank

06/06/2022, 10:08 PM
@Boris Tane ah good catch, updated!