-
Bug
-
Resolution: Not A Defect
-
Critical
-
None
I have a Jenkins task that triggers a shell script that builds an AWS task definition for a specified image that was created earlier in ECR. The script installs node packages:
npm install aws-sdk
npm install aws-sdk-promise
npm install mongodb@2.2.30
The above installation goes without incident, but then the build is throwing an error on the aws-sdk getRealRegion:
TypeError: ["fips-aws-global","aws-fips","aws-global"].includes is not a function
at getRealRegion (/home/jenkins/node_modules/aws-sdk/lib/region/utils.js:10:56)