-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix node 16 bug at deployment #830
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! We should also update these versions for all rockets when possible
1095fc3
to
84d8c51
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just remember to check the unit tests (they are failing) and integration tests
Working on it 🚀 |
Description
There is an issue when deploying on node v16 or later where CloudFormation fails because the Lambda zip files are empty. After some investigation seems that there is an issue with the
aws-cdk
version that we were using.Also, we were using the
rmDir
function from the nodefs
package which has been deprecated on node v16.Closes #823
Changes
aws-cdk
andaws-sdk
versions to the latest stable, compatible and reliable without breaking changes versions that fix that error.rm({recursive: true})
instead of the deprecatedrmDir
function form the nodefs
package.v14.14
Checks
Additional information
These changes have been tested on node v14, node v15, and node v16.