我正在尝试使用npm start运行Outlook外接程序。但它给了我一个错误,即Sideloading the Office Add-in... Error: Unable to start debugging. Error: Unable to sideload the Office Add-in. Error: Sideload is not supported.
我正在运行微软为Outlook-add-in提供的直接演示项目。同样在npm start之前运行npm run dev-server,因为我在mac上运行。https://docs.microsoft.com/en-us/outlook/add-ins/quick-start?tabs=yeomangenerator
我已经做了一些研究来找出这个问题,但没有找到任何问题。任何帮助都会感激不尽。
发布于 2019-10-22 23:19:44
我不确定这个问题是否已经得到了回答,但我也有同样的问题。我使用了以下链接来启用侧向加载:Sideload Outlook plugins for testing
一旦你启用了它,你至少应该能够运行dev-server并使用这个插件:
npm run dev-server发布于 2019-10-22 17:12:27
我正面临着同样的问题,在一些研究之后,我发现Outlook不支持,只有Excel,PowerPoint和Word可以在桌面上调试。
发布于 2019-09-01 16:35:08
对于Mac上的开发人员,建议使用Node Version Manager以适当的权限安装Node.js。
此外,您还需要确保证书已正确安装。
运行以下命令:npx office-addin-dev-certs install。
如果证书已经安装,您将看到一条消息:
You already have trusted access to https://localhost.如果未安装证书,将显示一条消息:
The developer certificates have been generated in ...
Installing CA certificate "Developer CA for Microsoft Office Add-ins"...然后,您应该会看到要求安装证书的对话框。
在说好之后,它应该会显示:
You now have trusted access to https://localhost.
Once the certificates are installed, you should be able to run the dev server without problems.有关详细信息,请参阅Unable to start the dev server。
https://stackoverflow.com/questions/57743701
复制相似问题