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: {}
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
Facing the Same Issues:- [Error] - Failed to Execute lifecycle deploy due to failed action: cli/runNpxCommand. ScriptExecutionError: Unable to execute script action.. Env output: {}
Same issue happening while deploying the app