css build error
See original GitHub issuein App.css, i append follow code to it.
:root {
--distance: 44px;
}
div {margin-top: calc(var(--distance)*-1/2);}
after, run npm run build
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5
Top Results From Across the Web
Error when trying to run CSS build in package.json
javascript - Error when trying to run CSS build in package. json - Stack Overflow. Stack Overflow for Teams – Start collaborating and...
Read more >CSS Compile Error - Material Design for Bootstrap
Hello, I am trying to set the order of SCSS files in my main SCSS file. I'd like to compile in the following...
Read more >CSS Minimizer error when building react js app - Reddit
I got the following error after updating react-scripts. static/css/main.57ddad44.css from Css Minimizer plugin Error: Unexpected '/'.
Read more >Nelify build error - HTML/CSS - Code with Mosh Forum
When I try to deploy my website with Netlify, I got this error. opt/build/repo/images/logo.svg: Invalid version: Undefined, when my build ...
Read more >Photo by Leif Christoph Gottwald on Unsplash - Jian Jye
node_modules/mini-css-extract-plugin/dist/loader.js): ModuleBuildError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js): Error: Node Sass ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
stage 4 or 5 is all ok !
But sometimes the following writing method is also needed,
or
Besides,the underlying parser
postcss-values-parser
also supports this approach ~you can see this issue https://github.com/postcss/postcss-custom-properties/issues/161