Home > other >  [for] an error when packaging: building for production... The Error processing
[for] an error when packaging: building for production... The Error processing

Time:09-24


When I use NPM run build package to the following error:
| building for production... The Error processing file: static/CSS/app. E1ae5661417cf5c675e2c508788b282b. CSS
(9644) node: UnhandledPromiseRejectionWarning: postcss - svgo: Error parsing in SVG: Unquoted attribute value
The Line: 0
Column: 14
Char:
(9644) node: UnhandledPromiseRejectionWarning: Unhandled promis
But I did not find that the static/CSS/app. E1ae5661417cf5c675e2c508788b282b. CSS this file, please the great god answer what might be the problem?

CodePudding user response:

Your ability remains to be wrong, carefully reading the wrong information, postcss processor in dealing with the SVG in CSS, found that the value of your SVG, the inside of the attribute to use quotation marks,

CodePudding user response:

Hello, I have put the references in the CSS to double quotation marks, but the same mistake.

QQ screenshots 20181101104628. Jpg692 52.8 x 677 KB

CodePudding user response:

For a great god door! For a great god door! For a great god door!

CodePudding user response:

Problem solved, the original is a CSS reference SVG in mui use single quotation marks.

CodePudding user response:

In utils.
in js
  • Related