serverless-nextjs / serverless-next.js

⚡ Deploy your Next.js apps on AWS Lambda@Edge via Serverless Components
MIT License
4.43k stars 451 forks source link

How to run `serverless info` in root? #957

Open antboy2020 opened 3 years ago

antboy2020 commented 3 years ago

Hello!

I am trying to run serverless info in the root of a nextjs project that I am trying to use serverless-nextjs framework on. But get Error: "component" input is required to run custom methods is there any way to do this?

dphang commented 3 years ago

I am not sure if that command will work since this is currently still using Serverless Components beta, it is not same as the regular Serverless Framework. Seems that command only applies to regular Serverless Framework (https://www.serverless.com/framework/docs/providers/aws/cli-reference/info/)?