You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use serverless-dotnet to deploy an API stack to AWS. It used to work perfectly well, but since I upgraded my version of Node.js to v16.13.1 (the latest LTS) I'm unable to deploy my API stack. When downgrading back to Node.js 14 (using nvm) the deploy works properly again.
On version 16 the deploy always fails with the message "Uploaded file must be a non-empty zip". Searching on internet for this message I've found this thread on StackOverflow. The consensus is that the problem was been caused by an issue on node-archiver when using it with newer versions of Node.js.
I have confirmed that this is likely the problem trying to unzip the deployment package found in the .serverless directory. Every file inside the zip seems to have an incorrect CRC.
The issue has since been closed and it seems that the latest version of node_archiver works with Node.js 16. But serverless-dotnet is still using an older version of this library.
The text was updated successfully, but these errors were encountered:
I use
serverless-dotnet
to deploy an API stack to AWS. It used to work perfectly well, but since I upgraded my version of Node.js to v16.13.1 (the latest LTS) I'm unable to deploy my API stack. When downgrading back to Node.js 14 (usingnvm
) the deploy works properly again.On version 16 the deploy always fails with the message "Uploaded file must be a non-empty zip". Searching on internet for this message I've found this thread on StackOverflow. The consensus is that the problem was been caused by an issue on node-archiver when using it with newer versions of Node.js.
I have confirmed that this is likely the problem trying to unzip the deployment package found in the
.serverless
directory. Every file inside the zip seems to have an incorrect CRC.The issue has since been closed and it seems that the latest version of
node_archiver
works with Node.js 16. Butserverless-dotnet
is still using an older version of this library.The text was updated successfully, but these errors were encountered: