What that means this error?

I try to play with meteor, react and Let Nav material ui;

this my json file

{
  "name": "koufa2",
  "private": true,
  "scripts": {
    "start": "meteor run"
  },
  "dependencies": {
    "meteor-node-stubs": "~0.2.0",
    "react-dom": "~0.14.8",
    "react-tap-event-plugin": "~0.2.2",
    "react": "~0.14.8",
    "material-ui": "~0.14.4"
  }
}

my home.jsx

import React from 'react';
import LeftNav from 'material-ui/lib/left-nav';
import AppBar from 'material-ui/lib/app-bar';
import RaisedButton from 'material-ui/lib/raised-button';

export default class LeftNavOpenRightExample extends React.Component {

  constructor(props) {
    super(props);
    this.state = {open: false};
  }

  handleToggle = () => this.setState({open: !this.state.open});

  render() {
    return (
      <div>
        <RaisedButton
          label="Toggle LeftNav"
          onTouchTap={this.handleToggle}
        />
        <LeftNav width={200} openRight={true} open={this.state.open} >
          <AppBar title="AppBar"/>
        </LeftNav>
      </div>
    );
  }
}

but my app is crashing throwing this error

While processing files with ecmascript (for target web.browser):
client/home.jsx:13:2: /client/home.jsx: Missing class properties transform.

What thas means this error?? how can I fix it ??

1 Like