Hello everyone,
I’m encountering an issue when trying to deploy my Forge app to production. The deployment fails with the error message:
ℹ Validating manifest
Deployment failed with unknown error
Error: Deployment failed (requestId: 912c26ca7ec4460686845bf9bd519fb2)
Error: Deployment failed (requestId: 912c26ca7ec4460686845bf9bd519fb2)
at ArtifactDeployer.handleErrorEvent (/home/ilyassmabrouk/.npm-global/lib/node_modules/@forge/cli/out/deploy/deployer/deployer.js:198:15)
at ArtifactDeployer.pollAndCheckEvents (/home/ilyassmabrouk/.npm-global/lib/node_modules/@forge/cli/out/deploy/deployer/deployer.js:96:18)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ArtifactDeployer.monitorDeployment (/home/ilyassmabrouk/.npm-global/lib/node_modules/@forge/cli/out/deploy/deployer/deployer.js:107:28)
at async ArtifactDeployer.deploy (/home/ilyassmabrouk/.npm-global/lib/node_modules/@forge/cli/out/deploy/deployer/deployer.js:70:9)
at async PackageUploadDeployCommand.execute (/home/ilyassmabrouk/.npm-global/lib/node_modules/@forge/cli/out/deploy/package-upload-deploy.js:27:9)
at async CommandLineUI.displayProgress (/home/ilyassmabrouk/.npm-global/lib/node_modules/@forge/cli/node_modules/@forge/cli-shared/out/ui/command-line-ui.js:59:28)
at async DeployView.reportDeploymentProgress (/home/ilyassmabrouk/.npm-global/lib/node_modules/@forge/cli/out/command-line/view/deploy-view.js:86:24)
at async DeployController.run (/home/ilyassmabrouk/.npm-global/lib/node_modules/@forge/cli/out/command-line/controller/deploy-controller.js:198:27)
at async /home/ilyassmabrouk/.npm-global/lib/node_modules/@forge/cli/out/command-line/register-deployment-commands.js:29:9
at async Command.actionProcessor (/home/ilyassmabrouk/.npm-global/lib/node_modules/@forge/cli/out/command-line/command.js:252:28)
at async Command.parseAsync (/home/ilyassmabrouk/.npm-global/lib/node_modules/@forge/cli/node_modules/commander/lib/command.js:936:5)
at async Command.parse (/home/ilyassmabrouk/.npm-global/lib/node_modules/@forge/cli/out/command-line/command.js:154:13)
at async main (/home/ilyassmabrouk/.npm-global/lib/node_modules/@forge/cli/out/command-line/index.js:51:5)
Below is my manifest.yml
file for the app:
app:
id: ari:cloud:ecosystem::app/${APP_ID}
runtime:
name: nodejs18.x
modules:
jira:issueAction:
- key: action
function: main
title: 'Process content'
description: 'Process content'
trigger:
- key: trigger
function: main
events:
- avi:jira:created:issue
function:
- key: main
handler: index.run
permissions:
scopes:
- write:jira-work
- read:jira-work
environment:
variables:
- APP_ID
- OPENAI_KEY
I am running the following command to deploy:
forge deploy --verbose
Versions
@forge/cli: 10.5.0
Any suggestions on what might be causing this deployment failure or how to resolve it would be greatly appreciated.
Thanks in advance!