Q: Sideload is not supported - localhost:3000 working, but inside Outlook it is not
See original GitHub issueHi there
I created a new basic scaffold project with yo office
as normal Add-In in Javascript and just ran npm start
in an Administrator PowerShell, but no matter what it always shows:
Starting the dev server... (webpack-dev-server --mode development)
The dev server is running on port 3000. Process id: 23596
Sideloading the Office Add-in...
Error: Unable to start debugging.
Error: Unable to sideload the Office Add-in.
Error: Sideload is not supported.
The node window opens and the server is running. If I navigate to localhost:3000 I can see the files.
But if I sideload the manifest.xml
in Outlook Desktop it tries to load the task pane and just crashes/fails after some time.
I haven’t changed anything, just used the scaffold created and ran start but it is not working.
I also tried the Angular scaffold, but the same behaviour.
What am I missing here? Any hint in the right direction is highly appreciated.
Thanks a lot in advance
PS: Path has no spaces, only dashes.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:22 (2 by maintainers)
Top Results From Across the Web
Unable to sideload the Office Add-in when running 'npm start'
Error: Sideload is not supported. I'm running direct demo project which Microsoft provided for Outlook-add-in. Also rund npm run dev-server ...
Read more >OfficeDev - Bountysource
Q : Sideload is not supported - localhost:3000 working, but inside Outlook it is ... I'm running as a administrator of a CDX...
Read more >Sideload Outlook add-ins for testing - Office - Microsoft Learn
Use sideloading to install an Outlook add-in for testing without ... and sideload across all of your supported devices in one command.
Read more >Sideloading and Debugging Outlook Add-ins - YouTube
Courtney Owen, Sr Software Engineer, shows a demonstration of how to debug Outlook add-ins with Visual Studio Code.
Read more >Can we install/side-load outlook custom add-in for Mac ...
If you have something not working, then it may not be compatible or you need to contact Microsoft support. There's no secret alternate...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I have been stuck all day trying to setup a basic Get started project. This is by far the worst development experience i have had. So barely little resource to work with.
@Lumpenstein I think your best bet for debugging the Outlook addin is to use Edge Devtools (https://docs.microsoft.com/en-us/microsoft-edge/devtools-guide). Open your Outlook add-in taskpane, then open Edge Devtools and attach the dev-server process - it should show up as something like https://localhost:3000/index.html?_host_Info=Outlook$Win32$16.01$en-US$$$$0. Once you have attached do Ctrl+P to open the relevant source files in Edge Devtools (e.g. taskpane.ts). I hope this helps.
-Courtney