react TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined code example
Example: the path argument must be of type string. received undefined react
To fix this issue simply upgrade to "react-scripts": "^3.4.0"