Is there a way to run seed with a higher version t...
# seed
r
Is there a way to run seed with a higher version than the latest stable build of the serverless framework? We are targeting a
frameworkVersion
of
^3.5.0
due to some serverless plugin dependencies that need this, and running into
ServerlessError: The Serverless version (2.66.1) does not satisfy the "frameworkVersion" (^3.5.0) in serverless.yml
b
https://seed.run/docs/pinning-the-serverless-version tldr; Install the one you want as a dependency in your package.json and/or configure it in your serverless.yml (frameworkVersion)
r
Alright so I tried first with the example that @Andrew Barba pasted for me, - added a
seed.yml
file at the top-level (same as
serverless.yml
) with that code but it did not run the hook (
INFO: before_compile hook not found. You can define it in your build spec.
). Reading the docs it said that it does not update the serverless version in apps but caches it for speed, and that you must recreate the app/service in order to update this. I’ve created a new app with just one of my services to attempt the deploy with ^3.5.0 serverless version, but I am still running into the same error. I’ve even tried to replace the
seed.yml
contents with the example file on the site that should be echoing out the hooks, but even that says it doesn’t find a before_compile hook. Any quick suggestions?