Error: Missing class properties transform
<p><code>Error: Missing class properties transform</code></p>

<p><code>Test.js</code>:</p>

<pre><code>export class Test extends Component {
  constructor (props) {
    super(props)
  }

  static contextTypes = {
    router: React.PropTypes.object.isRequired
  }
</code></pre>

<p><code>.babelrc</code>:</p>

<pre><code>{
  "presets": ["es2015", "react", "stage-0"],
  "plugins": ["transform-class-properties"]
}
</code></pre>

<p><code>package.json</code>:</p>

<pre><code>"babel-core": "^6.5.1",
"babel-eslint": "^4.1.8",
"babel-loader": "^6.2.2",
"babel-plugin-react-transform": "^2.0.0",
"babel-plugin-transform-class-properties": "^6.5.2",
"babel-preset-es2015": "^6.5.0",
"babel-preset-react": "^6.5.0",
"babel-preset-stage-0": "^6.5.0",
"babel-register": "^6.5.2",
</code></pre>

<p>I have scoured the web and all fixes revolve around: Upgrading to babel6, switching the order of "stage-0" to be after "es2015". All of which I have done.</p>