Last post Apr 23, 2020 12:38 PM by rajeeshmenoth
Apr 22, 2020 07:24 AM|rajeeshmenoth|LINK
I have installed npm i -g botdispatch package in app service console and it installed successfully. If you trying to run
dispatch --help command then it is working as expected. But once app service restarted or it's running automatically then the package is removing from the npm folder in the app service drive. So I tried to reinstall the same and able to see the
package in app service npm package folder but dispatch command is not recognize at all.
npm i -g botdispatch
Is this issue for environment variable ? or restriction for azure ?
Apr 23, 2020 01:55 AM|Brando ZWZ|LINK
Could you please post more details about your app service? Do you use node.js as the web app's runtime?
Apr 23, 2020 04:47 AM|rajeeshmenoth|LINK
I have added the key "WEBSITE_NODE_DEFAULT_VERSION" and value is '10.15.2' in app service as the node run time version because botdispatch required node version as 8.5 and above.
The following thread will help you : https://github.com/microsoft/botbuilder-tools/issues/1427
Apr 23, 2020 12:38 PM|rajeeshmenoth|LINK
This issue is resolved, package moved into application level and added few scripts .