I have been using the Serverless Framework successfully for some time, and I’ve been able to execute any serverless command without issues. However, I encountered a problem when I attempted to deploy my code using serverless deploy. I received the following error:
Could not find a valid version to run.
This error occurs for every Serverless command I attempt to execute, including serverless -v, which also returns the same error. It’s puzzling that this issue arose suddenly, as everything was functioning perfectly before.
I have tried reinstalling the Serverless package, but the issue persists. Please help.
Well, straight away I found out that you can’t use ssm in variables in the serverless.yml. I think there are breaking changes. No typescript support out of the box! I will look in to it.
I assume that it’ll apply to anyone using v4. I tried switching to an older version but it doesn’t have the same configuration packaging, which might also apply to others. (therefore alerting them of this bug)
I am curious to hear from someone at Serverless what happened here. It sounds like maybe an outage of some kind? And that impacted our ability to run any serverless commands?