static/css/main.dc43fdb9.css from Css Minimizer plugin TypeError: Cannot read properties of undefined (reading 'length')at Array.forEach (<anonymous>)
static/css/main.dc43fdb9.css from Css Minimizer plugin TypeError: Cannot read properties of undefined (reading 'length')at Array.forEach (<anonymous>)
pranay@pranay:~/Documents/Code/amazon-clone$ npm run build
> amazon-clone@0.1.0 build
> react-scripts build
Creating an optimized production build...
Failed to compile.
static/css/main.dc43fdb9.css from Css Minimizer plugin
TypeError: Cannot read properties of undefined (reading 'length')
at Array.forEach (<anonymous>)
react 应用程序在开发服务器上运行良好,但在我尝试使其准备好生产时显示此错误。交叉检查了 100 次,似乎没有任何效果。 static/css/main.dc43fdb9.css 不是我项目的一部分。
mask-image: linear-gradient(to bottam, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
如果您正在使用任何此类奇特的 CSS 规则。尝试禁用它们。
pranay@pranay:~/Documents/Code/amazon-clone$ npm run build
> amazon-clone@0.1.0 build
> react-scripts build
Creating an optimized production build...
Failed to compile.
static/css/main.dc43fdb9.css from Css Minimizer plugin
TypeError: Cannot read properties of undefined (reading 'length')
at Array.forEach (<anonymous>)
react 应用程序在开发服务器上运行良好,但在我尝试使其准备好生产时显示此错误。交叉检查了 100 次,似乎没有任何效果。 static/css/main.dc43fdb9.css 不是我项目的一部分。
mask-image: linear-gradient(to bottam, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
如果您正在使用任何此类奇特的 CSS 规则。尝试禁用它们。