Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 of 15 tasks
Izzatullohh opened this issue Jun 10, 2024 · 1 comment
Labels
type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs

Comments

@Izzatullohh
Copy link

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

@Izzatullohh Izzatullohh added the type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs label Jun 10, 2024
@sagarMehta1907
Copy link

sagarMehta1907 commented Aug 13, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs
Projects
None yet
Development

No branches or pull requests

2 participants