Skip to content

unnecessary npm install #113

@andreasdamm-shure

Description

@andreasdamm-shure

Due to an incorrect check for a non-empty array here https://github.com/sst/v2/blob/49df4ace0bdd8c9d394887608d1d8117d5be8184/packages/sst/src/runtime/handlers/node.ts#L235, "npm install" is executed regardless of whether externals exist.

The check should read

if (input.mode === "deploy" && installPackages.length > 0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions