4

通过 npm 安装 rokujs 后,似乎无法克服这个错误:软件包安装正确。没有报告其他错误。

有任何想法吗?

ERROR in ./~/node-ssdp/lib/index.js
        Module not found: Error: Can't resolve 'dgram' in 'C:\VisualStudio\Repos\App\App.PWA\node_modules\node-ssdp\lib'
         @ ./~/node-ssdp/lib/index.js 3:12-28
         @ ./~/node-ssdp ^.*index$
         @ ./~/node-ssdp/index.js
         @ ./~/rokujs/lib/roku.js
         @ ./~/rokujs/index.js
         @ ./ClientApp/app/components/home/home.component.ts
         @ ./ClientApp/app/app.shared.module.ts
         @ ./ClientApp/app/app.browser.module.ts
         @ ./ClientApp/boot.browser.ts
         @ multi event-source-polyfill webpack-hot-middleware/client?path=__webpack_hmr&dynamicPublicPath=true ./ClientApp/boot.browser.ts
4

0 回答 0