Backbencher.dev

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

Last updated on 5 Dec, 2022

I am using @sls-next/serverless-component to deploy Next.js application to AWS. Everything was working fine.But today when I tried for a new Next.js application, I am seeing below error.

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

The issue was with respect to the mismatch between the @sls-next component and main serverless component. I got it resolved by using an older version of serverless. I used version 2.72.2.

npx serverless@2.72.2
--- ○ ---
Joby Joseph
Web Architect