vue-cli 打包报错!

 11% building modules 14/46 modules 32 active ...\node_modules\.2.1.10@vue\dist\vue.js(node:15392) DeprecationWarning: loaderUtils.parseQuery() received a non-string value which can be problematic, see https://github.com/webpack/loader-utils/issues/56
parseQuery() will be replaced with getOptions() in the next major version of loader-utils.

图片描述

辛辛苦苦写完,打包才来报错,求搭救!!!

npm run dev 时也会报如下错误

(node:3864) DeprecationWarning: loaderUtils.parseQuery() received a non-string value which can be problematic, see https://github.com/webpack/loader-utils/issues/56
parseQuery() will be replaced with getOptions() in the next major version of loader-utils.
阅读 7.8k
3 个回答

唔不影响你打包,不过是某个库的提醒而已,在自己看英文应该能看懂吧。。。

和版本有关系看起来,建议升级一下

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题