question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Serverless Components CLI v1 is no longer bundled with Serverless Framework CLI

See original GitHub issue

Issue Summary

When i try to deploy an app then i receive the next message:

Serverless Components CLI v1 is no longer bundled with Serverless Framework CLI

and the app is not deployed

Actual behavior

The process end with that message

Expected behavior

Tha app is deployed

Steps to reproduce

Try to deploy a app with @sls-next/serverless-component@3.7.0-alpha.7

Screenshots/Code/Configuration/Logs

Screen Shot 2022-01-27 at 15 12 12 Screen Shot 2022-01-27 at 15 13 46

Versions

Additional context

Checklist

  • You have reviewed the README and FAQs, which answers several common questions.
  • You have reviewed our DEBUGGING wiki and have tried your best to include complete information and reproduction steps (including your configuration) as is possible. As there is only one maintainer (who maintains this in his free time) and thus very limited resources, if you have time, please try to debug the issue a bit yourself if possible.
  • You have first tried using the most recent latest or alpha @sls-next/serverless-component release version, which may have already fixed your issue or implemented the feature you are trying to use. Note that the old serverless-next.js component and the serverless-next.js plugin are deprecated and no longer maintained.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:35
  • Comments:34

github_iconTop GitHub Comments

31reactions
ferdinglercommented, Jan 27, 2022

Try this to deploy:

npx serverless@2.72.2
6reactions
optydeviocoursescommented, Mar 23, 2022

Soluction:

  1. npm install global serverless version 2.7.2
 npm install -g serverless@2.72.2
 sls -v

Captura de Tela 2022-03-23 às 20 26 09

  1. In the package.json
"dependencies": {
    "@sls-next/aws-cloudfront": "3.6.0",
    "@sls-next/aws-lambda": "3.6.0",
    "@sls-next/aws-sqs": "^3.5.3",
    "@sls-next/domain": "^3.5.3",
    "@sls-next/serverless-component": "3.6.0",
    ...
}
  1. In the file serveless.yml
next-new :
   component : "./node_modules/@sls-next/serverless-component"
  1. Results 5.1 deploy for aws
sls 

Captura de Tela 2022-03-23 às 20 18 11

sls --debug

Captura de Tela 2022-03-23 às 20 30 33 Captura de Tela 2022-03-23 às 20 28 38

5.2 remove for aws

sls remove

Captura de Tela 2022-03-23 às 20 21 04

Read more comments on GitHub >

github_iconTop Results From Across the Web

SOLVED: Serverless Components CLI v1 is no longer ...
js application, I am seeing below error. Serverless Components CLI v1 is no longer bundled with Serverless Framework CLI. Serverless CLI issue.
Read more >
Serverless Next.js Component - Serverless Framework: Plugins
It is the component's job to deploy your application ensuring parity with all of next's features we know and love. We try to...
Read more >
@serverless/components - npm
The Serverless Framework's new infrastructure provisioning technology — Build, compose, & deploy serverless apps in seconds.
Read more >
Serverless Framework vs Serverless Components
Want to know what each of them does? ... Under the hood, the Serverless Framework CLI deploys your code to a cloud provider...
Read more >
Frequently Asked Questions - Serverless Nextjs
Make sure your serverless.yml uses the serverless-components format. serverless components differ from the original serverless framework, even though they ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found