「自学哈网」WARNING in child compilations (Use ‘stats.children: true’ resp. ‘–stats-children’ for more details)报错提示,怎么解决?
也想出现在这里?
联系我们吧
WARNING in child compilations (Use ‘stats.children: true’ resp. ‘–stats-children’ for more details)报错提示,怎么解决?
在Laravel项目中使用Vue进行项目开发,在使用composer进行安装完成 laravel/ui 框架之后,进行编译,出现报错信息如下:
Compiled Successfully in 12911ms
┌───────────────────┬──────────┐
│ File │ Size
│
├───────────────────┼──────────┤
│ /js/app.js │ 1.61 MiB
│
│ css/app.css │ 200 KiB
│
└─────────
──────────┴──────────┘
1 WARNING in child compilations (Use ‘stats.children: true’ resp. ‘–stats-children’ for more details)
webpack compiled with 1 warning
出现此问题的原因在于autoprefixer@10.4.6 以后弃用了 color-adjust,所以我们需要安装低点版本的,选择autoprefixer@10.4.5
执行如下命令:
npm install autoprefixer@10.4.5 –save-exact
完成之后,再次运行
npm run dev
编译成功!
本站声明:
本站所有资源来源于网络,分享目的仅供大家学习和交流!如若本站内容侵犯了原著者的合法权益,可联系邮箱976157886@qq.com进行删除。
自学哈专注于免费提供最新的分享知识、网络教程、网络技术的资源分享平台,好资源不私藏,大家一起分享!
自学哈网 » 「自学哈网」WARNING in child compilations (Use ‘stats.children: true’ resp. ‘–stats-children’ for more details)报错提示,怎么解决?
本站所有资源来源于网络,分享目的仅供大家学习和交流!如若本站内容侵犯了原著者的合法权益,可联系邮箱976157886@qq.com进行删除。
自学哈专注于免费提供最新的分享知识、网络教程、网络技术的资源分享平台,好资源不私藏,大家一起分享!
自学哈网 » 「自学哈网」WARNING in child compilations (Use ‘stats.children: true’ resp. ‘–stats-children’ for more details)报错提示,怎么解决?
也想出现在这里?
联系我们吧