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

WARNING in child compilations (Use ‘stats.children: true’ resp. ‘–stats-children’ for more details)报错提示,怎么解决?
出现此问题的原因在于autoprefixer@10.4.6 以后弃用了 color-adjust,所以我们需要安装低点版本的,选择autoprefixer@10.4.5

执行如下命令:

npm install autoprefixer@10.4.5 –save-exact

完成之后,再次运行

npm run dev

编译成功!

WARNING in child compilations (Use ‘stats.children: true’ resp. ‘–stats-children’ for more details)报错提示,怎么解决?

文章来源网络,作者:运维,如若转载,请注明出处:https://shuyeidc.com/wp/115320.html<

(0)
运维的头像运维
上一篇2025-02-18 01:44
下一篇 2025-02-18 01:45

相关推荐

发表回复

您的邮箱地址不会被公开。必填项已用 * 标注