运行“npm start"时无法旁加载 Office 加载项 [英] Unable to sideload the Office Add-in when running 'npm start'
问题描述
我正在尝试使用 npm start
运行 Outlook 插件.但它给了我一个错误<代码>旁加载 Office 加载项...错误:无法开始调试.错误:无法旁加载 Office 加载项.错误:不支持旁加载.
I'm trying to run Outlook-add-in using npm start
. But it gives me an error that
Sideloading the Office Add-in...
Error: Unable to start debugging.
Error: Unable to sideload the Office Add-in.
Error: Sideload is not supported.
我正在运行 Microsoft 为 Outlook 插件提供的直接演示项目.在 npm start
之前运行 npm run dev-server
,因为我在 mac 中运行.https://docs.microsoft.com/en-us/outlook/add-ins/quick-start?tabs=yeomangenerator
I'm running direct demo project which Microsoft provided for Outlook-add-in. Also rund npm run dev-server
before npm start
as i'm running in mac.
https://docs.microsoft.com/en-us/outlook/add-ins/quick-start?tabs=yeomangenerator
我进行了一些研究以找到问题,但无法提出任何问题.任何帮助将不胜感激.
I have done some research to find the issue but unable to come up with any. Any help would be grateful.
推荐答案
我不确定这个问题是否已经得到解答,但我遇到了同样的问题.我使用以下链接启用侧加载:侧载 Outlook 插件进行测试
I'm not sure if this has been answered already, but I had the same issue. I used the following link to enable side-loading: Sideload Outlook plugins for testing
启用该功能后,您至少应该能够运行开发服务器并使用插件:
Once you have that enabled, you should be able to at least run the dev-server and work with the plugin:
npm run dev-server
这篇关于运行“npm start"时无法旁加载 Office 加载项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!