Error on forge install command

Hey all,

I hope this is not a duplicate, I couldn’t find another similar topic, although it feels very basic to me.
I was going through the guide of creating a new app: https://developer.atlassian.com/platform/forge/build-a-hello-world-app-in-jira/
At the point where I was asked to run “forge install” into my own space (which a registered and logged in to in the previous step ), I am running into the following error:

Error: An unexpected error occurred

Error: An unexpected error occurred
    at InstallationsGraphqlClient.monitorAppInstallOrUpgrade (C:\Users\Eitan\AppData\Roaming\npm\node_modules\@forge\cli\out\installations\graphql-client.js:202:23)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async InstallationsGraphqlClient.installAppIntoSite (C:\Users\Eitan\AppData\Roaming\npm\node_modules\@forge\cli\out\installations\graphql-client.js:150:9)
    at async InstallAppSiteCommand.execute (C:\Users\Eitan\AppData\Roaming\npm\node_modules\@forge\cli\out\installations\install-app-site.js:13:16)
    at async C:\Users\Eitan\AppData\Roaming\npm\node_modules\@forge\cli\out\command-line\controller\install-controller.js:53:17
    at async CommandLineUI.displayProgress (C:\Users\Eitan\AppData\Roaming\npm\node_modules\@forge\cli\node_modules\@forge\cli-shared\out\ui\command-line-ui.js:59:28)
    at async InstallController.run (C:\Users\Eitan\AppData\Roaming\npm\node_modules\@forge\cli\out\command-line\controller\install-controller.js:209:42)
    at async C:\Users\Eitan\AppData\Roaming\npm\node_modules\@forge\cli\out\command-line\register-installation-commands.js:22:9
    at async Command.actionProcessor (C:\Users\Eitan\AppData\Roaming\npm\node_modules\@forge\cli\out\command-line\command.js:263:28)
    at async Command.parseAsync (C:\Users\Eitan\AppData\Roaming\npm\node_modules\@forge\cli\node_modules\commander\lib\command.js:936:5)
Your app in development was not installed to any products on https://rapeitan.atlassian.net/.      

Error: Failed to install the app for the following products: Jira.

Error: Failed to install the app for the following products: Jira.
    at InstallController.run (C:\Users\Eitan\AppData\Roaming\npm\node_modules\@forge\cli\out\command-line\controller\install-controller.js:233:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async C:\Users\Eitan\AppData\Roaming\npm\node_modules\@forge\cli\out\command-line\register-installation-commands.js:22:9
    at async Command.actionProcessor (C:\Users\Eitan\AppData\Roaming\npm\node_modules\@forge\cli\out\command-line\command.js:263:28)
    at async Command.parseAsync (C:\Users\Eitan\AppData\Roaming\npm\node_modules\@forge\cli\node_modules\commander\lib\command.js:936:5)
    at async Command.parse (C:\Users\Eitan\AppData\Roaming\npm\node_modules\@forge\cli\out\command-line\command.js:156:13)
    at async main (C:\Users\Eitan\AppData\Roaming\npm\node_modules\@forge\cli\out\command-line\index.js:55:5)

Before that happened, it was repeating these messages (in verbose mode) over and over:

  ▶️  GraphQL https://api.atlassian.com/graphql
Query: 
      query forge_cli_getInstallationTask($id: ID!) {
        appInstallationTask(id: $id) {
          state
          errors {
            message
            extensions {
              errorType
              statusCode
            }
          }
        }
      }
    
Variables: {
  "id": "84de5c3a-ced2-467c-9688-1ae2eab3d310"
}
  ◀️  GraphQL
Request ID: ce60cab59039427990879d71d2ec961a
Result: {
  "appInstallationTask": {
    "state": "PENDING",
    "errors": null
  }
}
  ▶️  GraphQL https://api.atlassian.com/graphql
Query: 
      query forge_cli_getInstallationTask($id: ID!) {
        appInstallationTask(id: $id) {
          state
          errors {
            message
            extensions {
              errorType
              statusCode
            }
          }
        }
      }
    
Variables: {
  "id": "84de5c3a-ced2-467c-9688-1ae2eab3d310"
}
  ◀️  GraphQL
Request ID: 2132f86789ed443e8a6898c1896afeb0
Result: {
  "appInstallationTask": {
    "state": "PENDING",
    "errors": null
  }
}

Before it eventually ran into this supposed timeout error:

Variables: {
  "id": "84de5c3a-ced2-467c-9688-1ae2eab3d310"
}
  ◀️  GraphQL
Request ID: 1776348ded3e4ab1b8424efebd4d5a05
Result: {
  "appInstallationTask": {
    "state": "FAILED",
    "errors": [
      {
        "message": "An unexpected error occurred",
        "extensions": {
          "errorType": "INTERNAL_SERVER_ERROR",
          "statusCode": 500
        }
      }
    ]
  }
}

Any help would be greatly appreciated!

Thanks,
Eitan

It sounds like the site where you’re trying to install the Forge app doesn’t actually have Jira. Can you confirm?

Huh, it might’ve not been ready yesterday.
I ran it again now and it works fine. Thanks and sorry for the hassle!