Project not working after cloning

Author: ruds18Created Apr 2, 2024Updated Oct 10, 2025

I followed the steps of cloning the project locally but the documentation server is not firing up. Showing errors in various components.


ERROR in ../components/input/Input.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: C:/Users/Rudransh/Desktop/react-toolbox/components/input/Input.js: Unexpected token (11:21)

   9 | const factory = (FontIcon) => {
  10 |   class Input extends React.Component {
> 11 |     static propTypes = {
     |                      ^
  12 |       children: PropTypes.node,
  13 |       className: PropTypes.string,
  14 |       defaultValue: PropTypes.string,

Source: react-toolbox/react-toolbox