serverless-components / express

⚡ Take existing Express.js apps and host them easily on cheap, auto-scaling, serverless infrastructure (AWS Lambda and AWS HTTP API).
https://serverless.com/components
Apache License 2.0
375 stars 34 forks source link

Is this deprecated? #80

Open joshstrange opened 2 years ago

joshstrange commented 2 years ago

The link to serverless.com/components (Wayback Machine) now redirects to the main framework page and there is zero mention of components on the website (aside from blog posts from 2+ years ago). That coupled with ignored PRs, open issues about basic things like support for larger memory lambdas, and the nodejs version still being pinned to 12 makes me assume this is no longer supported.

It would be nice to have an official deprecation instead of leaving up these repos for someone to stumble over and think they will work. Even the basic setup commands don't work:

> serverless init express-starter
Environment: darwin, node 12.22.7, framework 3.7.1, plugin 6.1.5, SDK 4.3.2
Docs:        docs.serverless.com
Support:     forum.serverless.com
Bugs:        github.com/serverless/serverless/issues

Error:
Serverless command "init express-starter" not found. Run "serverless help" for a list of all available commands.
robertgoacher commented 2 years ago

I've asked this many times in this repository and I even emailed Serverless about it...and got zero replies.

vinnyt123 commented 2 years ago

I would also love to know if this is deprecated... I guess the lack of response and activity in the repos indicates it is.

I believe the serverless components CLI is packaged separately to the regular CLI now.

You can run npm install -g @serverless/components to install the now separate serverless components CLI. Then you need to use components login and components deploy instead of what was previously serverless deploy etc. Strange that none of the documentation seems to have been updated.

Perhaps components init express-starter would work, although it seems like a bad idea to start a new app with serverless components at this point.

robertgoacher commented 2 years ago

@eahefnawy Could we get a definitive answer please?

dhesson commented 2 years ago

Is the lambda runtime even configurable with this component? I do feel like it's deprecated.

I think I'm going to start extracting my configs from components back into the original framework. Then I can, ya know, configure things like lambda runtime that this component is abstracting/trying to hide to simplify things.