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.
Is this issue for environment variable ? or restriction for azure ?
Could you please post more details about your app service? Do you use node.js as the web app's runtime?
Best Regards,
Brando
.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
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.
Participant
1181 Points
286 Posts
Packages removed from App Service once restart happens
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 rundispatch --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.Is this issue for environment variable ? or restriction for azure ?
RajeeshMenoth [ Rajeesh M R ]
Tech Blog | Twitter | LinkedIn
Star
9831 Points
3120 Posts
Re: Packages removed from App Service once restart happens
Apr 23, 2020 01:55 AM|Brando ZWZ|LINK
Hi RajeeshMenoth,
Could you please post more details about your app service? Do you use node.js as the web app's runtime?
Best Regards,
Brando
Participant
1181 Points
286 Posts
Re: Packages removed from App Service once restart happens
Apr 23, 2020 04:47 AM|rajeeshmenoth|LINK
Hi Brando,
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
RajeeshMenoth [ Rajeesh M R ]
Tech Blog | Twitter | LinkedIn
Participant
1181 Points
286 Posts
Re: Packages removed from App Service once restart happens
Apr 23, 2020 12:38 PM|rajeeshmenoth|LINK
This issue is resolved, package moved into application level and added few scripts .
RajeeshMenoth [ Rajeesh M R ]
Tech Blog | Twitter | LinkedIn