Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
andriy-simonov opened this issue Apr 17, 2021 · 1 comment

Comments

@andriy-simonov
Copy link

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.

@doteric
Copy link

doteric commented Sep 28, 2021

Hey,
same problem with the exact same package.

@sergioramos would you have some time by any chance to look into this? Would really appreciate it 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants