Skip to content

The command to create a project with version 2.0 generates it with SST v3 dependencies instead of v2 #121

@JuarezCulau

Description

@JuarezCulau

Running either npx create-sst@two project or pnpm create sst@two project (I haven’t tested with yarn) will both create a project whose root package.json states "sst": "^2", but when running pnpm install, all the other package.json files created end up using sst 3.x instead of v2. It appears that the pnpm install does not enforce version 2.

This is the same issue reported here: anomalyco/sst#3893.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions