npm typeError [err_invalid_arg_type]:

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

npm install -S cucumber
Armandres