mthenw / serverless-go-plugin

⚡️ Serverless Framework plugin that compiles Go functions on the fly. Sponsored by https://cloudash.dev
https://cloudash.dev
MIT License
103 stars 17 forks source link

serverless-go-plugin not available in Serverless Framework v4 #56

Open sgash708 opened 4 months ago

sgash708 commented 4 months ago

Description

I am currently using Serverless Framework v4 for my project and need to use the serverless-go-plugin to manage my Go functions. However, it seems that the serverless-go-plugin is not available or not supported in Serverless Framework v4. there is the possibility that serverless-go-plugin will support also serverless v4 in the near future?

Error mesage

Run sls deploy --verbose --stage stg

Initializing
Finishing

✖ Serverless plugin "serverless-go-plugin" not found. Make sure it's installed and listed in the "plugins" section of your serverless config file. Use the --debug flag to learn more.
ServerlessError2: Serverless plugin "serverless-go-plugin" not found. Make sure it's installed and listed in the "plugins" section of your serverless config file. Use the --debug flag to learn more.
    at PluginManager.resolveServicePlugins (file:///home/runner/.serverless/releases/4.1.[12](https://github.com/myrepo/foo-bar/actions/runs/9894277461/job/27331402104#step:6:13)/package/dist/sf-core.js:854:2669)
    at async PluginManager.loadAllPlugins (file:///home/runner/.serverless/releases/4.1.12/package/dist/sf-core.js:854:1293)
    at async Serverless.init (file:///home/runner/.serverless/releases/4.1.12/package/dist/sf-core.js:861:9760)
    at async runFramework (file:///home/runner/.serverless/releases/4.1.12/package/dist/sf-core.js:909:880)
    at async route (file:///home/runner/.serverless/releases/4.1.12/package/dist/sf-core.js:920:[16](https://github.com/myrepo/foo-bar/actions/runs/9894277461/job/27331402104#step:6:17)046)
    at async Object.run2 [as run] (file:///home/runner/.serverless/releases/4.1.12/package/dist/sf-core.js:920:16444)
    at async run3 (file:///home/runner/.serverless/releases/4.1.12/package/dist/sf-core.js:920:[17](https://github.com/myrepo/foo-bar/actions/runs/9894277461/job/27331402104#step:6:18)704)