Unexpected token � in JSON at position 0

Issue description

wba is reporting this error on a valid stats.json file.

Technical info

  • Webpack Bundle Analyzer version: 2.2.3
  • Webpack version: 2.2.1
  • Node.js version: 6.9.1
  • npm/yarn version: 3.10.8/0.19.1
  • OS: Windows 10

Debug info

How do you use this module? As CLI utility or as plugin?
As CLI
Generated stats with
webpack --profile --json > dist/stats.json

If CLI, what command was used? webpack-bundle-analyzer dist/stats.json dist

What other Webpack plugins were used?

LodashModuleReplacementPlugin
webpack.optimize.CommonsChunkPlugin

It would be nice to also attach webpack stats file. Attached!
stats.zip