mariocasciaro / gulp-concat-css

Concatenates css files, bubbling up import statements (as per the standard), and optionally rebasing urls and inlining local import statements.
MIT License
78 stars 19 forks source link

Error when file contains keyframe animations #17

Closed jdwillemse closed 9 years ago

jdwillemse commented 9 years ago

When using concat on a a file with @keyframes my build fails.

This is the error:

stream.js:94
      throw er; // Unhandled stream error in pipe.
            ^
TypeError: Cannot call method 'forEach' of undefined

I have reproduced this on a css file containing just:

@keyframes NAME-YOUR-ANIMATION {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
mariocasciaro commented 9 years ago

I run a test and apparently I cannot reproduce. Could you please send some code which would help me reproduce? Also, what's exactly the error?

jdwillemse commented 9 years ago

I have tried reproducing it on a blank project and failed. I then went back to where I had the problem initially and couldn't reproduce it either.

The only Thing that changed on my side is that I updated node.js (which was quite old) and then updated my NPM packages. I think this issue must have been caused by my outdated setup.

Apologies for the false alarm.