Unable to deploy services with custom plugins.localPath
after upgrading serverless
#7117
Labels
plugins.localPath
after upgrading serverless
#7117
Bug Report
Description
Upgrading to serverless version >= 1.55.0 breaks local serverless plugins
What did you do?
Ran
npm i -g serverless@latest
and was unable to deploy or locally invoke functions which specify a customplugins.localPath
(see .yml file below).What happened?
What should've happened?
The local invocation should have succeeded, or at least started. Instead serverless never gets past trying to load the plugins.
What's the content of your
serverless.yml
file?What's the output you get when you use the
SLS_DEBUG=*
environment variable (e.g.SLS_DEBUG=* serverless deploy
)Other:
Deployment and local invocation work when I change the plugins section like this:
My serverless version prior to upgrading was ~1.51.0. After discovering the problem with 1.60.0, I've been able to isolate the problem to something that changed between 1.54 and 1.55. I.e., everything works as expected if I revert to serverless 1.54.0 but breaks as above when I move to versions >= 1.55.0.
Similar or dependent issues:
is:issue local plugin not found
yields nothing that looks to be relatedThe text was updated successfully, but these errors were encountered: