Deprecation Warning: punycode module in AWS CDK logs #34012
Unanswered
Sivakumar-CD
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Issue Description
I am using aws-cdk-lib and see the following deprecation warning in CloudWatch logs:
ERROR (node:9) [DEP0040] DeprecationWarning: The
punycode
module is deprecated. Please use a userland alternative instead.(Use
node --trace-deprecation ...
to show where the warning was created)yarn why punycode
, and the module is used byaws-cdk-lib
.punycode
in my code.Steps to Reproduce
Expected Behavior
Environment
Workaround
yarn upgrade aws-cdk-lib
), but the issue persists.Additional Context
punycode
module was deprecated in Node.js 7 and removed in Node.js 17.aws-cdk-lib
andajv -> uri-js -> punycode
.Could AWS CDK remove this deprecated dependency?
Beta Was this translation helpful? Give feedback.
All reactions