找不到模块:错误:无法解析' dgram'在node-ssdp中

时间:2018-02-11 00:41:58

标签: node.js angular asp.net-core ssdp

通过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

0 个答案:

没有答案