secure-media-delivery-at-the-edge-on-aws
secure-media-delivery-at-the-edge-on-aws copied to clipboard
CDK Deploy failed with "RangeError: Maximum call stack size exceeded"
Describe the bug CDK failed to bootstrap/build/deploy with an exception "RangeError: Maximum call stack size exceeded"
To Reproduce Clone the repository and follow the steps in the Readme file. 2 options are available for the deployment and both are failing.
Expected behavior Bootstrap/Build/Deployment to be completed.
Please complete the following information about the solution:
-
[v1.2.5 ] Version: [e.g. v1.0.0]
-
[ eu-west-1] Region: [e.g. us-east-1]
-
[ N] Was the solution modified from the version published on this repository?
-
[ ] If the answer to the previous question was yes, are the changes available on GitHub?
-
[ ] Have you checked your service quotas for the sevices this solution uses?
-
[ ] Were there any errors in the CloudWatch Logs?
Error details:
$ npx cdk bootstrap
D:\...\secure-media-delivery-at-the-edge-on-aws\source\node_modules\aws-cdk-lib\node_modules\minimatch\minimatch.js:942
return s.replace(/\\(.)/g, '$1')
^
RangeError: Maximum call stack size exceeded
at String.replace (<anonymous>)
at globUnescape (D:\...\secure-media-delivery-at-the-edge-on-aws\source\node_modules\aws-cdk-lib\node_modules\minimatch\minimatch.js:942:12)
at Minimatch.parse (D:\...\secure-media-delivery-at-the-edge-on-aws\source\node_modules\aws-cdk-lib\node_modules\minimatch\minimatch.js:643:12)
at Array.map (<anonymous>)
at Minimatch.<anonymous> (D:\...\secure-media-delivery-at-the-edge-on-aws\source\node_modules\aws-cdk-lib\node_modules\minimatch\minimatch.js:197:14)
at Array.map (<anonymous>)
at Minimatch.make (D:\...\secure-media-delivery-at-the-edge-on-aws\source\node_modules\aws-cdk-lib\node_modules\minimatch\minimatch.js:196:13)
at new Minimatch (D:\...\secure-media-delivery-at-the-edge-on-aws\source\node_modules\aws-cdk-lib\node_modules\minimatch\minimatch.js:154:8)
at minimatch (D:\...\secure-media-delivery-at-the-edge-on-aws\source\node_modules\aws-cdk-lib\node_modules\minimatch\minimatch.js:125:10)
at GlobIgnoreStrategy.ignores (D:\...\secure-media-delivery-at-the-edge-on-aws\source\node_modules\aws-cdk-lib\core\lib\fs\ignore.js:1:2408)
****************************************************
*** Newer version of CDK is available [2.162.0] ***
*** Upgrade recommended (npm install -g aws-cdk) ***
****************************************************
Subprocess exited with error 1