Skip to content

Removes the package.json file from the root directory of a dependency project. #172

Description

@andriy-simonov

Hi dear contributors. Thank you for your effort.
I've just started using the plugin and have a problem with my typescript AWS project. There are dependencies on AWS SDK libraries. After the plugin shakes the file dependency tree there is no package.json file in the root directory of one of the dependencies. So when I deploy my lambda function, it fails because it cannot find the dependency. Please check the minimal project that reproduces the problem. Build the project with serverless package and inspect .serverless/etl.zip. There is no package.json in node_modules/@aws-sdk/client-sts.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions