0
点赞
收藏
分享

微信扫一扫

- building for production...Error processing file: static/css/app.d53a70da509caf93a6b301290742eaa8.c

juneyale 2022-05-30 阅读 157

背景:

    在对Vue项目进行打包操作时出现该错误

 

错误信息:

- building for production...Error processing file: static/css/app.d53a70da509caf93a6b301290742eaa8.css
(node:9928) UnhandledPromiseRejectionWarning: postcss-svgo: Error in parsing SVG: Unquoted attribute value
Line: 0
Column: 14
Char: \
(node:9928) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promis
e which was not handled with .catch(). (rejection id: 3)
(node:9928) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zer
o exit code.

 

解决办法:

     因为项目中引用了MUI框架,那么我们只需要打开mui.css文件,然后将有svg的单引号改为双引号即可,如下图所示:

- building for production...Error processing file: static/css/app.d53a70da509caf93a6b301290742eaa8.c_css


举报
0 条评论