postcss-devtools icon indicating copy to clipboard operation
postcss-devtools copied to clipboard

Formatter passing undefined rows to text-table

Open billyjanitsch opened this issue 9 years ago • 1 comments

If I add postcss-devtools to the css-loader pipeline, text-table (used by the formatter) throws the following error when compiling any CSS file:

Module build failed: TypeError: Cannot read property 'length' of undefined

It looks like the formatter is passing undefined rows to text-table. I unfortunately don't know enough about the postcss architecture to dig much deeper, but all of the plugins in the pipeline seem to be using the 5.0 API, so this appears to be a bug in postcss-devtools.

Ref: https://github.com/webpack/css-loader/issues/124#issuecomment-204193809

billyjanitsch avatar Apr 01 '16 01:04 billyjanitsch

Hi, sorry for the delay. 😄

Does this issue still occur with the 1.1.1 release? If so I'll need a bit more information on how to reproduce this.

ben-eb avatar Nov 07 '16 18:11 ben-eb