CSS: Parse Error where none was before
See original GitHub issueTo replicate on Debian 11 or Ubuntu 20.04 with Java 17:
curl -sSfLO https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css
curl -sSfLO https://github.com/validator/validator/releases/download/latest/vnu.jar
java -jar vnu.jar --css bootstrap.min.css
The exactly same worked well 3 days before, so I assume something with the CSS parser changed. The failing parts are those around keyframes definitions, from what I see.
The non-minified CSS does not throw the error, but the minification is done correctly, no syntax errors implied. Running the non-minified version through some other minifiers leads to the same parser errors.
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (5 by maintainers)
Top Results From Across the Web
css - what is a parse error and how do I fix it - Stack Overflow
It looks like a space, walks like a space, quacks like a space, but it still isn't a space, in CSS parsing. So...
Read more >How to fix: CSS: Parse Error. - Rocket Validator
CSS styles could not be parsed, check the indicated line to find what caused the parser to fail. Common causes are unclosed curly...
Read more >CSS parse error please help (Example) | Treehouse Community
Here is my code...error is W3C CSS Validator results for TextArea (CSS level ... but non-students are welcome to browse our conversations.
Read more >Common CSS Parser Errors (Parsing Errors Found)
An Unknown Word Error is similar to an unclosed block error and often shows when the selector is missing the left curly bracket....
Read more >W3 validator gives : Error: CSS: Parse Error - WordPress.org
The only way to fix these “errors” is to examine every line of CSS code on your site, trace the source, and fix...
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 Free
Top 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
Curious if this is the same issue I’m having after running a Yarn upgrade for my Rails project. Can’t compile Bootstrap 5 because of css-loader and postcss-loader or updates to different Babel packages.
Module build failed (from ./node_modules/postcss-loader/src/index.js): ParserError: Syntax Error at line: 1, column 25
Going to close this issue then. @ilunglee yours is a different issue, but I’m not sure if it’s our problem or sass yet. Feel free to make a new one, but if you don’t, no worries since we have the PR.