c# - 在 Azure 在线代码编辑器中构建机器人

标签 c# azure bots azure-qna-maker

每当我尝试在线构建 Azure Web 应用程序机器人时,都会遇到以下错误。当我运行 build.cmd 时,deploy.cmd 立即失败并出现以下错误。我在网上找不到任何有关如何解决此问题的信息。这很奇怪,因为它第二天就消失了。我能够构建一次,然后所有后续构建都会失败。非常奇怪。

> 构建.cmd 网站部署期间发生错误。 “npm”不被识别为内部或外部命令, 可运行的程序或批处理文件。

最佳答案

我只是在这里传递信息。在“构建机器人”指南中,看起来其他人遇到了上面的确切错误。有人对该评论进行了回复,能够规避该问题:

https://learn.microsoft.com/en-us/azure/bot-service/bot-service-build-online-code-editor?view=azure-bot-service-3.0

I had the same error when entering build.cmd in the App Service Editor.

For me it worked entering the command directly in the Console in the Azure Portal (under Development Tools in the App Service)

Hope this helps! :)

关于c# - 在 Azure 在线代码编辑器中构建机器人,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50414467/

相关文章:

powershell - 新-AzureReservedIP : What´s the difference between ReservedIPName and Label?

c# - Azure 功能防火墙

python - 将新值添加到 txt 文件

c# - 数据访问库返回数据集或对象

c# - 为什么 var 在迭代 PropertyDescriptorCollection 时表现不同?

仅包含注册页面的 Azure AD B2C 自定义策略

javascript - Facebook Messenger 嵌套持久菜单错误

python - 带 Discord.py 跳线的 Discord Bot

c# - 存储库模式 - 使其可测试、DI 和 IoC 友好且 IDisposable

c# - Linq All 在空集合上