Skip to content

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: {} #1144

@Izzatullohh

Description

@Izzatullohh

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

  • 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
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bug-suspectedSuspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions