-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning: Cannot read property 'type' of undefined Use --force to continue. #4
Comments
I am also experiencing this error with one of my two css files. I am not really sure where the problem is occuring or why. |
I also just came across the same error on my first test with a simple compass project. I worked out that is was the:
option set on the compass task which output the css file that cssc was trying to condense.
which I guess is what the cssc was choking on. Setting "debugInfo: false" got it working. Not sure if that's exactly the reason you guys we getting the error, just thought I'd mention it in case anyone else get stuck on the same thing. |
I'm getting the same error.. Setting the output style to compressed (which removes all the debug info mentioned above) doesn't work.. |
Yeah I'm also getting the error when setting the cssc option:
setting it to false works. |
This is an issue in css-condense v0.0.6. It is already fixed in v0.1.1, so for quick fix you can update package.json for grunt-cssc with newer version. |
Until @mediapart fixes this, can you ( @yura-chaikovsky ) tell me how to update the |
I use the last version but i ma still stuck in the some problem . |
@AdelDima Currently this works for me:
Obviously using the selectors would be awesome. I came across these two solutions:
… with the first being quite simple (and what I already tried + which failed) I had high hopes for the latter. Sadly npm shrinkwrap threw up some errors and I settled for the most basic patch. I forked the repo and updated the dependencies to use the latest To try it out, first uninstall
That said, I get another error when using
If you're willing to try it out, tell me how it went. For now and until I figured it out, I'm not sending out a pull request for this fork. |
Thank you @pattulus it work for me now :) . first i get " [email protected] wants css-condense@~0.1.1" i was using 0.0.6 after update css-condense and add your cssc version all work perfectly. |
Trying to run cssc as part of a css build process. Other items work fine but cssc is giving me this:
I can't figure out where that error is coming from. Is it a path problem? A dependency? Something in the css?
Relevant part of gruntfile:
The text was updated successfully, but these errors were encountered: