Having an issue with runtime when i run forge deploy, any tips

PS D:\CodeGist-2024\Instant-Resolver-App> forge deploy

D:\CodeGist-2024\Instant-Resolver-App\manifest.yml
21:0 error app must have required property ‘runtime’ valid-document-required

Error: Command failed due to validation error.

Rerunning the command with --verbose may give more details.

Hi @JMwangi. Welcome to the dev community!

Add the following to the app section of your manifest, so it has the following runtime entry:

app:
  runtime:
    name: nodejs20.x

Was this a sample app that you cloned/downloaded? If so, please send me the link to the repo so that I can update it with the runtime requirement. Thanks!

@nmansilla it is not a sample app, its an app that i am building.

Got it. Let me know if this addresses the error for you.

now i have a different error, that is progress:

Running forge lint...

Error: The following resources are declared but are improperly defined in the manifest.yml file: - main

YAML files are pretty finicky. Go ahead and paste your manifest here and we’ll be able to take a closer look.

modules:
  webtrigger:
    - key: instant-resolver-webtrigger
      handler: backend/aggregation.run
  function:
    - key: instant-resolver-function
      handler: backend/ai.run
  trigger:
    - key: instant-resolver-trigger
      function: instant-resolver-function
      events:
        - avi:jira:issue_created
  frontend:
    - key: instant-resolver-frontend
      resource: main
      path: frontend/build
      resolver:
        function: backend/api/index.run
        method: get

app:
  id: ari:cloud:ecosystem::app/521a1fb1-477b-49aa-*************
  runtime:
    name: nodejs20.x