teams-dev-samples icon indicating copy to clipboard operation
teams-dev-samples copied to clipboard

Getting this error when I try to deploy it:[Error] - Failed to Execute lifecycle deploy due to failed action: {"name":"build app","uses":"cli/runNpmCommand"}. ScriptExecutionError:Unable to execute script action.. Env output: {}

Open Izzatullohh opened this issue 1 year ago • 1 comments

Sample

bot-azure-search-openai-t

Author(s)

Garry Trinder

What happened?

I tried to deploy the bot, I got this error:

[2024-06-10T16:00:59.748Z] [Error] - Failed to Execute lifecycle deploy due to failed action: {"name":"build app","uses":"cli/runNpmCommand"}. ScriptExecutionError:Unable to execute script action.. Env output: {} [2024-06-10T16:00:59.750Z] [Info] - Execution summary:

Summary: (×) Error: Lifecycle stage deploy failed. (√) Done: cli/runNpmCommand(install dependencies) was executed successfully. (√) Done: Successful execution of the npm install command at /Users/izzatullobaltabaev/Downloads/pnp teams-dev-samples main samples-bot-azure-search-openai-ts-3/. (×) Error: cli/runNpmCommand(build app) failed. (×) Error: Unable to execute script action. (!) Warning: azureAppService/zipDeploy was not executed.

Steps to reproduce

1.Provisioned 2.Deployed 3.

Expected behavior

to be deployed

Teams Client

  • [X] Teams desktop client
  • [ ] Web browser
  • [ ] mobile (iOS/iPadOS)
  • [ ] mobile (Android)
  • [ ] not applicable
  • [ ] other (enter in the "Additional environment details" area below)

Developer environment

macOS

Browsers

  • [ ] Internet Explorer
  • [ ] Microsoft Edge
  • [X] Google Chrome
  • [ ] FireFox
  • [ ] Safari
  • [ ] mobile (iOS/iPadOS)
  • [ ] mobile (Android)
  • [ ] not applicable
  • [ ] other (enter in the "Additional environment details" area below)

Node.js version

v16

Additional environment details

No response

Izzatullohh avatar Jun 10 '24 16:06 Izzatullohh

Facing the Same Issues:- [Error] - Failed to Execute lifecycle deploy due to failed action: cli/runNpxCommand. ScriptExecutionError: Unable to execute script action.. Env output: {}

image

sagarMehta1907 avatar Aug 13 '24 10:08 sagarMehta1907

Same issue happening while deploying the app

Image

raj2014New avatar Apr 11 '25 22:04 raj2014New