node js TypeError [ERR_INVALID_ARG_TYPE]: The argument must be of type string. Received undefined

JavaScript
1) install cucumber as project local package, rather than global package.

npm install -S cucumber
Source

Also in JavaScript: