[ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined code example
Example 1: the path argument must be of type string. received undefined react
To fix this issue simply upgrade to "react-scripts": "^3.4.0"
Example 2: npm TypeError [ERR_INVALID_ARG_TYPE]:
1) install cucumber as project local package, rather than global package.
npm install -S cucumber