[英]Nodejs not starting web service for office addin
最近我開始創建 Office web 插件,並使用 Visual Studio 創建了一對。 但現在,我必須改為使用 NodeJS 創建加載項。 我遵循了 Yeoman 生成器的官方 Microsoft 說明,安裝工作正常,直到我運行
npm啟動
這記錄。
C:\Users\***\source\secondapp>npm start
> office-addin-taskpane-js@0.0.1 start
> office-addin-debugging start manifest.xml
Debugging is being started...
App type: desktop
Enabled debugging for add-in b56ba8a6-675d-44bd-8182-0822410ef349. Debug method: 0
Sideloading the Office Add-in...
Debugging started.
C:\Users\***\source\secondapp>
如您所見,web 服務無法啟動。 沒有給出任何錯誤。
我現在也有同樣的情況.. 只是 word 已打開但未啟動 webpack。 我必須手動啟動它
npm run dev-server
比我能夠在 MSWord 中打開我的插件..
我曾經使用它大約一年半的時間
npm start
但也許在將節點更新到節點 15.14 之后.. 它停止工作.. 嘗試啟動第一個開發服務器,然后打開辦公室
不要忘記檢查:
CheckNetIsolation LoopbackExempt -a -n=”microsoft.win32webviewhost_cw5n1h2txyewy”
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.