lib\build.js:53 if (err) throw err; ^ TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined code example
Example: npm TypeError [ERR_INVALID_ARG_TYPE]:
1) install cucumber as project local package, rather than global package.
npm install -S cucumber