I get the following message when trying to deploy - I’m using the command serverless deploy --stage staging
.
What I don’t understand is, this worked in my production environment, why doesn’t it work here? The only difference I can tell is that my production runtime is nodejs8.10 and my staging runtime is nodejs10.x
Serverless Error ---------------------------------------
An error occurred: CustomDashresourceDashapigwDashcwDashroleLambdaFunction - Could not unzip uploaded file. Please check your file, then try to upload again. (Service: AWSLambdaInternal; Status Code: 400; Error Code: InvalidParameterValueException; Request ID: 1a4eaea7-70f7-4960-adf4-ed8a1ad48a14)