npm开始显示index.html,尽管index.html存在,但未定义

时间:2019-10-25 05:48:06

标签: node.js flutter webrtc

我正在尝试在flutter中实现voip调用,从github https://github.com/cloudwebrtc/flutter-webrtc-server获得了示例代码,服务器是在Node js中完成的,这对我来说是新的,我可以安装node js并能够以npm开始,但显示如下问题

[./node_modules/webpack/hot sync ^\.\/log$] (webpack)/hot sync nonrecursive ^\.\/log$ 170 bytes {main} [built]
[./node_modules/webpack/hot/dev-server.js] (webpack)/hot/dev-server.js 1.59 KiB {main} [built]
[./node_modules/webpack/hot/emitter.js] (webpack)/hot/emitter.js 75 bytes {main} [built]
[./src/index.js] 166 bytes {main} [built]
    + 331 hidden modules
Child html-webpack-plugin for "index.html":
     1 asset
    Entrypoint undefined = ./index.html
    [./node_modules/html-webpack-plugin/lib/loader.js!./src/index.html] 370 bytes {0} [built]
    [./node_modules/lodash/lodash.js] 528 KiB {0} [built]
    [./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 472 bytes {0} [built]
    [./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built]
i 「wdm」: Compiled successfully.

页面正在加载,但显示无法访问该网站。

0 个答案:

没有答案