Skip to content

Unable to run your project. The "RunCommand" property is not defined #1291

Answered by ashishdhingra
taipignas asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @taipignas,

Good morning.

The reason you are getting this error because Serverless annotations project is a class library project which cannot be executed directly. In order to test/debug annotations project locally, you need to have Mock Lambda Test Tool installed and it needs to be selected when running the project. In Lambda test tool, you could then select API Gateway V2 HTTP API from example requests dropdown to test your API.

Thanks,
Ashish

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ashishdhingra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
guidance Question that needs advice or information. response-requested Waiting on additional info and feedback. Will move to close soon in 7 days. module/lambda-client-lib
2 participants
Converted from issue

This discussion was converted from issue #1288 on August 29, 2022 21:29.