lazywithclass / winston-cloudwatch

Send logs to Amazon Cloudwatch using Winston.
MIT License
258 stars 105 forks source link

Starting now causes error of @aws-sdk/client-cloudwatch-logs not found #186

Open Sammaye opened 2 years ago

Sammaye commented 2 years ago

I upgraded from 3.1 to 3.2 to start seeing this error, it is included in the dev deps and as such never actually installed when we install it as a plugin and unless our system has it and not the overall aws-sdk we cannot run this code

lazywithclass commented 2 years ago

Upgrade to the latest version, which is 5.0.0, I've added @aws-sdk/client-cloudwatch-logs as part of the peerDependencies.