nideveloper / CDK-SPA-Deploy

This is an AWS CDK Construct to make deploying a single page website (Angular/React/Vue) to AWS S3 behind SSL/Cloudfront easier
MIT License
235 stars 40 forks source link

Trying to deploy uisng cdk-spa-deploy but this package keeps using node 14 #484

Open shivaniDev290 opened 5 months ago

shivaniDev290 commented 5 months ago

I am using the package cdk-spa-deploy package version "^2.0.0-alpha.1" and we deploy using github pipeline to AWS S3 and cloudFront. This package keeps using node 14 internally and because node 14 is deprecated I am not able to deploy my application. Please tell me a way to solve this issue.

cal0610 commented 3 months ago

add this to the package.json to override the aws-cdk-lib so that it uses node 20x

"overrides": { "cdk-spa-deploy": { "aws-cdk-lib": "2.34.2" } }