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
When reproducing the steps to deploy the app, I ran into the following error while running "sls deploy":
✖ The Serverless version (4.1.12) does not satisfy the "frameworkVersion" (3) in serverless.yml
ServerlessError2: The Serverless version (4.1.12) does not satisfy the "frameworkVersion" (3) in serverless.yml
at Service.loadServiceFileParam (file:///home/dijkstra/.serverless/releases/4.1.12/package/dist/sf-core.js:855:9321)
at Service.load (file:///home/dijkstra/.serverless/releases/4.1.12/package/dist/sf-core.js:855:6963)
at Serverless.init (file:///home/dijkstra/.serverless/releases/4.1.12/package/dist/sf-core.js:861:9726)
at runFramework (file:///home/dijkstra/.serverless/releases/4.1.12/package/dist/sf-core.js:909:897)
at async route (file:///home/dijkstra/.serverless/releases/4.1.12/package/dist/sf-core.js:920:16046)
at async Object.run2 [as run] (file:///home/dijkstra/.serverless/releases/4.1.12/package/dist/sf-core.js:920:16444)
at async run3 (file:///home/dijkstra/.serverless/releases/4.1.12/package/dist/sf-core.js:920:17704)
As the error implies, uninstalling serverless and installing a 3.* version solved the problem (in my case npm install -g [email protected]). I don't know enough about serverless to know if any 3.* works though.
The text was updated successfully, but these errors were encountered:
# You can pin your service to only deploy with a specific Serverless version# Check out our docs for more detailsframeworkVersion: '3'
So far, version 3 works well. I think after I finish the last deployment, Serverless will probably upgrade its version. You can continue with version 3 since it has proven to work fine. We can consider upgrading the Serverless version in the future if needed.
When reproducing the steps to deploy the app, I ran into the following error while running "sls deploy":
As the error implies, uninstalling serverless and installing a 3.* version solved the problem (in my case
npm install -g [email protected]
). I don't know enough about serverless to know if any 3.* works though.The text was updated successfully, but these errors were encountered: