错误记录:Error:Commandfailed:C:windowssystem32cmd.exe/s/c"./configure--disable-shared错误关键字:cwebp-bin,autoreconf-ivf,pngquant,libpng-dev完整错误信息为3条:错误:命令失败:C:windowssystem32cmd.exe/s/c"./configure--disable-shared--prefix="D:Projectvue-admin-beautiful-templatenode_modulescwebp-binvendor"--bindir="D:Projectvue-admin-beautiful-templatenode_modulescwebp-binvendor""错误:命令失败:C:windowssystem32cmd.exe/s/c"autoreconf-ivf"'autoreconf'错误:命令失败:C:windowssystem32cmd.exe/s/c"./configure--with-system-zlib--prefix="D:Projectvue-admin-beautiful-templatenode_modulesoptipng-binvendor"--bindir="D:Projectvue-admin-beautiful-templatenode_modulesoptipng-binvendor""错误:pngquant构建失败,确保libpng-dev安装场景:安装vue-admin-beautiful项目时尝试过cnpmi和npminstall,甚至尝试过科学上网的方法,但是还是报错位置问题。仔细看错误记录,会发现有A提醒,不过是黄色警告,不会引起注意。完整记录我贴出来:>cwebp-bin@5.1.0postinstallD:\Project\vue-admin-beautiful-template\node_modules\cwebp-bin>nodelib/install.js?getaddrinfoENOENTraw.githubusercontent.com?cwebppre-buildtestfailedicompilingfromsource×错误:命令失败:C:\windows\system32\cmd.exe/s/c"./configure--disable-shared--prefix="D:\Project\vue-admin-beautiful-template\node_modules\cwebp-bin\vendor"--bindir="D:\Project\vue-admin-beautiful-template\node_modules\cwebp-bin\vendor""'.'位于D:\Project\vue-admin-beautiful-template\node_modules\bin-build\node_modules\execa\index.js:231:11atrunMicrotasks(
