Error: Failed to fetch templates, try running the command again.

Error: Failed to fetch templates, try running the command again.

1 Like

:wave: @BonganiGumede welcome!

It looks like you came from the Build a hello world app in Jira guide. And I’m guessing you ran into an error somewhere along the way and received the error message you shared:

Error: Failed to fetch templates, try running the command again.

Can you share what command you were trying to run when you hit that command? Did re-running it as the message suggests solve the issue or produce a different result?

1 Like

Hi Bentley,

I’m suffering the same problem any official solution?

Error: Failed to fetch templates, try running the command again.
    at TemplateServiceLister.getAvailableTemplates (/opt/homebrew/lib/node_modules/@forge/cli/node_modules/@forge/cli-shared/out/apps/template.js:106:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async CreateAppCommand.getAvailableTemplates (/opt/homebrew/lib/node_modules/@forge/cli/node_modules/@forge/cli-shared/out/apps/create-an-app.js:24:36)
    at async CommandLineUI.displayTemporaryMessage (/opt/homebrew/lib/node_modules/@forge/cli/node_modules/@forge/cli-shared/out/ui/command-line-ui.js:76:28)
    at async createCommandHandler (/opt/homebrew/lib/node_modules/@forge/cli/out/command-line/register-app-commands.js:63:27)
    at async Command.actionProcessor (/opt/homebrew/lib/node_modules/@forge/cli/out/command-line/command.js:76:32)