4.5 version causes breaking during startup

Author: chironemcgarryCreated Jul 8, 2025Updated Jul 8, 2025

`Failed to compile.

./node_modules/react-draggable/build/cjs/Draggable.js 260:22 Module parse failed: Unexpected token (260:22) File was processed with these loaders:

  • ./node_modules/babel-loader/lib/index.js You may need an additional loader to handle the result of these loaders. | // the underlying DOM node ourselves. See the README for more information. | findDOMNode() /: ?HTMLElement/{
return this.props?.nodeRef?.current ?? _reactDom.default.findDOMNode(this);

| } | render() /: ReactElement/{`

Source: react-grid-layout/react-draggable