问题
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?
回答1:
Let's try running build from the console to see if that resolves this issue.
- First, from your App Service Editor click on your bot name at the top and select Open Kudu Console:
- this will open the diagnostic console in a new tab. Enter
cd site\wwwroot && build.cmd
Hopefully that works!
来源:https://stackoverflow.com/questions/51416032/luis-app-npm-is-not-recognized-as-an-internal-or-external-command-when-tryin