报错信息如下:
external "querystring"?71da:1 Uncaught ReferenceError: require is not defined
at eval (external "querystring"?71da:1)
at Object.<anonymous> (app.js:2401)
at __webpack_require__ (app.js:621)
at fn (app.js:47)
at Object.eval (client.js?7955:17)
at eval (266:280)
at Object.<anonymous> (app.js:2377)
at __webpack_require__ (app.js:621)
at fn (app.js:47)
at eval (dev-client.js?7d67:3)
控制台信息如下:
控制台不是让你看issues嘛。。。
1.更新依赖包,这是原话,如果你不知道这个警告是什么,你可以忽视它,它会随着时间消失。
2.在
webpack.config.js
加上process.traceDeprecation = true
,不过你得找到哪个loader
出现这个警告的loader-utils Issues#56