在使用默认模块打包webpack的时候,ERROR in multi 错误

博客分享了一个链接https://www.jianshu.com/p/a55fb5bf75e1 ,称其十分有用,但未提及链接具体内容。
根据配置报错PS D:\QD\vue-cli\ketepai> npm run dev > ketepai@1.0.0 dev > webpack-dev-server --inline --progress --config build/webpack.dev.conf.js (node:31036) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated. (Use `node --trace-deprecation ...` to show where the warning was created) (node:31036) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated. 10% building modules 1/1 modules 0 active Project is running at http://localhost:8080/ webpack output is served from / 95% emitting ERROR Failed to compile with 1 errors 11:03:47 This relative module was not found: * ./src/index.js in multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/index.js Hash: bf5afe77233399ef319a Version: webpack 3.12.0 Time: 250ms Asset Size Chunks Chunk Names bundle.js 424 kB 0 [emitted] [big] main [17] multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/index.js 52 bytes {0} [built t] [18] (webpack)-dev-server/client?http://localhost:8080 7.93 kB {0} [built] [19] ./node_modules/url/url.js 23.5 kB {0} [built] [20] ./node_modules/punycode/punycode.js 14.7 kB {0} [built] [22] ./node_modules/qs/lib/index.js 211 bytes {0} [built] [53] ./node_modules/strip-ansi/index.js 161 bytes {0} [built] [54] ./node_modules/ansi-regex/index.js 135 bytes {0} [built] [55] ./node_modules/loglevel/lib/loglevel.js 11.3 kB {0} [built] [56] (webpack)-dev-server/client/socket.js 1.08 kB {0} [built] [57] ./node_modules/sockjs-client/dist/sockjs.js 181 kB {0} [built] [58] (webpack)-dev-server/client/overlay.js 3.67 kB {0} [built] [59] ./node_modules/ansi-html/index.js 4.26 kB {0} [built] [68] (webpack)/hot/dev-server.js 1.61 kB {0} [built] + 54 hidden modules ERROR in multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/index.js Module not found: Error: Can't resolve './src/index.js' in 'D:\QD\vue-cli\ketepai' @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/index.js webpack: Failed to compile.
最新发布
08-11
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值