question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CSS: Parse Error where none was before

See original GitHub issue

To 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:closed
  • Created 2 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
bradbajuzcommented, Sep 19, 2021

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

1reaction
XhmikosRcommented, Sep 29, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found