When the npm run build command is run to build the production React app (to later be used by ElectronJS, of course), the following error message outputs:
Creating an optimized production build...
Failed to compile.
Failed to minify the code from this file:
./node_modules/electron-react-devtools/api.js:4