question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Q: Sideload is not supported - localhost:3000 working, but inside Outlook it is not

See original GitHub issue

Hi 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:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:22 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
charmsteadcommented, Mar 17, 2020

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.

2reactions
TCourtneyOwencommented, Oct 22, 2019

@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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found