LUIS-app: 'npm' is not recognized as an in

2019-08-24 04:04发布

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.

Apparently, npm is missing on the build server. How can that be and how can I fix it?

标签: azure npm luis
1条回答
爷、活的狠高调
2楼-- · 2019-08-24 04:22

Let's try running build from the console to see if that resolves this issue.

  1. First, from your App Service Editor click on your bot name at the top and select Open Kudu Console:

Open Kudu Console

  1. this will open the diagnostic console in a new tab. Enter cd site\wwwroot && build.cmd

Hopefully that works!

查看更多
登录 后发表回答