office-jsoffice-addinsoffice-js-helpers

Word Add-in Local Sideloading Problems on Windows10


I am trying to sideload a microsoft word add-in I am working on, ABUformat. I have once sideloaded it successfully. I followed all the steps necessary but recently, the Add-in wouldn't just load successfully. It keeps returning a message: "sorry we can't load the add-in. Please make sure you have network and/or Internet connectivity. Click "Retry" once you are back online". Since I am loading from my localhost I don't understand why the request for network connectivity. In fact connecting the computer to the internet doesn't still solve the problem.

Someone help me with this please have been on it for hours. I am developing using Visual Studio Code.

I include the screenshot of it here:

screenshot of the issue


Solution

  • I think I now understand why the Add-in is not sideloading successfully. It has to do with the localhost server not started/running at the time the Add-in is being loaded. Solution to a problem like this is checking the localhost server to ensure it is running and then starting it if it is found not to be running.