RocketCommunicationsInc / astro

Astro UXDS is a collection of guidelines, patterns and components for designing space-based user interface applications.
https://astrouxds.com
Other
108 stars 25 forks source link

React unable to build 7.0 #805

Closed Full-lifey closed 1 year ago

Full-lifey commented 1 year ago

We are trying to upgrade to 7.0 in Space-ACME but we are getting warnings with postcss on build. It looks as though astro css is using calc and dividing by rems, causing warnings.

8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:173
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:406
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:638
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:880
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:1116
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:1353
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:1590
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:1832
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:2068
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:2313
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:2551
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:2784
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:3022
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:3261
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:3496
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:3730
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:3967
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:4199
markacianfrani commented 1 year ago

fixed in 7.0.1!