node "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: node js TypeError [ERR_INVALID_ARG_TYPE]: The argument must be of type string. Received undefined
1) install cucumber as project local package, rather than global package.
npm install -S cucumber