Code Monkey home page Code Monkey logo

Comments (7)

giakki avatar giakki commented on June 16, 2024

That error should be caused by a syntax error in the CSS.
If you are sure that all the stylesheets are valid, could you please find which one causes that error, and look up which line/selector is reported, so I can look into it?
Thanks!

from grunt-uncss.

ukeboyska avatar ukeboyska commented on June 16, 2024

@giakki .. since i'm using compass/sass/grunt to compile, it's impossible for the stylesheet to be invalid.

can you help me figure out how to find line 1:28445? i'm not sure how to interpret that...

from grunt-uncss.

giakki avatar giakki commented on June 16, 2024

Line 1:28445 could mean that the input stylesheets are minified and thus contain only one line.
The best way to find which one it is would be to pass non-minified stylesheets to UnCSS one at a time, so they don't get concatenated, and you can directly inspect which line is reported, or, if you can, simply share your CSS, so I can take a look myself ;)

from grunt-uncss.

ukeboyska avatar ukeboyska commented on June 16, 2024

hey the problem was filter: ;

i was using a plugin's sass file (jquery textshadow), and it has an if statement that returns an empty filter value under certain conditions. i just added another if statement around it, and that helped!

works now! thanks again for your help

from grunt-uncss.

giakki avatar giakki commented on June 16, 2024

No problem, glad I could help!
I might add a more informative error in the next release ;)

from grunt-uncss.

addyosmani avatar addyosmani commented on June 16, 2024

Thanks for following up with more helpful error messages, @giakki! Closing this one.

from grunt-uncss.

manjula-dube avatar manjula-dube commented on June 16, 2024

hey I am facing a problem in my css and i am using minified once.It just takes too long

from grunt-uncss.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.