LUIS-app:在尝试安装"Kudu Sync"时,"npm"未被识别为内部或外部命令. [英] LUIS-app: 'npm' is not recognized as an internal or external command, when trying to install "Kudu Sync"
本文介绍了LUIS-app:在尝试安装"Kudu Sync"时,"npm"未被识别为内部或外部命令.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已遵循教程集成LUIS和QnA Maker 以创建LUIS应用.当我到达
I have followed the tutorial to integrate LUIS and QnA Maker to create a LUIS app. When I got to the final step and tried to build the app, I got the error message
\> \build.cmd
Installing Kudu Sync
An error has occurred during web
site deployment. 'npm' is not recognized as an internal or external
command, operable program or batch file.
显然,构建服务器上缺少npm.那怎么可能,我该如何解决?
Apparently, npm is missing on the build server. How can that be and how can I fix it?
推荐答案
让我们尝试从控制台运行构建,以查看是否可以解决此问题.
Let's try running build from the console to see if that resolves this issue.
- 首先,在您的App Service编辑器中,单击顶部的机器人名称,然后选择打开Kudu控制台":
- 这将在新选项卡中打开诊断控制台.输入
cd site\wwwroot && build.cmd
希望能奏效!
这篇关于LUIS-app:在尝试安装"Kudu Sync"时,"npm"未被识别为内部或外部命令.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文