aws / aws-sdk-js

AWS SDK for JavaScript in the browser and Node.js
https://aws.amazon.com/developer/language/javascript/
Apache License 2.0
7.6k stars 1.55k forks source link

Having error called npm WARN deprecated querystring@0.2.0 #4466

Closed nisalrenuja closed 11 months ago

nisalrenuja commented 1 year ago

Describe the bug

after adding aws-sdk npm package with deployed files to aws elastic beanstalk and it is failing to deploy the build. when it comes to checking logs got an error message as "Command /bin/su webapp -c npm --omit=dev install failed with error exit status 244. Stderr:npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead." as the error. image

Expected Behavior

deploy the build to aws elastic beanstalk

Current Behavior

failing to deploy aws elastic beanstalk

Reproduction Steps

deploy code into the elastic beanstalk

Possible Solution

No response

Additional Information/Context

No response

SDK version used

2.1419.0

Environment details (OS name and version, etc.)

Node.js 16 running on 64bit Amazon Linux 2/5.8.0

Seokhyeon315 commented 1 year ago

I have same warning message. Is it okay to ignore the message until aws fix it??

yenfryherrerafeliz commented 1 year ago

Hi @Seokhyeon315, I will add a needs-review label to this issue so we can analyze this further.

Related: https://github.com/aws/aws-sdk-js/issues/4347, https://github.com/aws/aws-sdk-js/issues/4150

Thanks!

RanVaknin commented 11 months ago

Related: https://github.com/aws/aws-sdk-js/issues/4150#issuecomment-1839677577

Closing.