Open bwpedro opened 3 years ago
@bwpedro please respect all bug template remarks and answer all questions carefully.
Note that as bug template states you need to put all the plugins out of a picture, otherwise it's likely that plugins are cause of the issue and in such case issue belongs to their repository
Othwerwise, for general support please check:
Thanks for the answer @medikoo.
All plugins are out of picture. I said that in the end of the issue description.
When run
serverless invoke local --function ${functionName} --path ${path}
in a go function (using docker #4746), serverless takes forever in the "Excluding development dependencies" step.It seems like it needs to deploy all functions before executing the local test.
In my case I have 3 functions in serveless.yml, one "Excluding development dependencies" for each function.
I was trying in a different project which I have more than 30 functions and it just took forever to test and I just had to gave up using go and use node.js instead.
If I deploy the function and test the remote function (just invoke, without local) it works but if I make a change I have to deploy the whole function to test.
serverless.yml:
functions/serverless.yml
Installed version: 2.9.0
I know the go function only works locally with docker and I can see my function running if I just wait the excluding development dependencies, but it just takes too much time if the project is big enough.