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.
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 packageand inspect .serverless/etl.zip. There is no package.json in node_modules/@aws-sdk/client-sts.