Depois que fiz a alteração no index.js deu essa mensagem de erro, alguém teve isso e conseguiu resolver?
TypeError: react.PropTypes is undefined (anonymous function) nodemodules/babel-loader/lib/index.js??ref--6-oneOf-2!/Applications/MAMP/htdocs/instalura_react/node_modules/react-router/lib/InternalPropTypes.js:9
6 | 7 | var _react = require('react'); 8 |
9 | var func = _react.PropTypes.func; 10 | var object = _react.PropTypes.object; 11 | var arrayOf = _react.PropTypes.arrayOf; 12 | var oneOfType = _react.PropTypes.oneOfType;
./node_modules/react-router/lib/InternalPropTypes.js http://localhost:3000/static/js/0.chunk.js:822:1 webpack_require http://localhost:3000/static/js/bundle.js:782:12 fn http://localhost:3000/static/js/bundle.js:150:20 (anonymous function) node_modules/babel-loader/lib/index.js??ref--6-oneOf-2!/Applications/MAMP/htdocs/instalura_react/node_modules/react-router/lib/PropTypes.js:12
9 | 10 | var deprecateObjectProperties2 = _interopRequireDefault(deprecateObjectProperties); 11 |
12 | var InternalPropTypes = require('./InternalPropTypes'); 13 | 14 | var InternalPropTypes = _interopRequireWildcard(InternalPropTypes); 15 |
./node_modules/react-router/lib/PropTypes.js http://localhost:3000/static/js/0.chunk.js:870:1 webpack_require http://localhost:3000/static/js/bundle.js:782:12 fn http://localhost:3000/static/js/bundle.js:150:20 (anonymous function) node_modules/babel-loader/lib/index.js??ref--6-oneOf-2!/Applications/MAMP/htdocs/instalura_react/node_modules/react-router/lib/index.js:15
12 | } 13 | }); 14 |
15 | var _PropTypes2 = require('./PropTypes'); 16 | 17 | Object.defineProperty(exports, 'locationShape', { 18 | enumerable: true,
./node_modules/react-router/lib/index.js http://localhost:3000/static/js/0.chunk.js:1110:1 webpack_require http://localhost:3000/static/js/bundle.js:782:12 fn http://localhost:3000/static/js/bundle.js:150:20 (anonymous function) src/index.js:8
5 | import { Router, Route, browserHistory } from 'react-router'; 6 | 7 | import './css/timeline.css';
8 | import './css/login.css'; 9 | 10 | ReactDOM.render( 11 | (