Closed robertgoacher closed 2 years ago
Hello @RobertGoacher - this repository is not related to components. As for the issue you're having - the message suggests what the solution is, since V3 release of the Serverless Framework, components are no longer bundled with it. You need to install them separately and run as suggested in the command output message.
I'm going to close this issue.
Oh I see. 😢
It would be good if the Serverless website/documentation mentioned that Serverless Compose is not compatible with any configured services that are using Serverless Components. It would have saved me wasting my entire afternoon trying to get this set up.
Sorry about that @RobertGoacher - the Compose is mentioned in Framework docs only, but we'll see if we can improve the messaging a little bit so we can avoid situations like this.
Are you certain it's a bug?
Are you using the latest version?
Is there an existing issue for this?
Issue description
When I try to run
serverless deploy
orserverless info
I get an error when it reaches any of the services which are using a Serverless Component.The full error I receive is:
Here is the contents of my serverless-compose.yml file:
The 'api' service is using the
express
component (https://github.com/serverless-components/express).The api service works perfectly when I manually run
serverless deploy
within its directory.Service configuration (serverless-compose.yml) content
Command name and used flags
serverless info
Command output