darkguy2008 / parallelshell

Run multiple shell commands in parallel
501 stars 44 forks source link

Fixed TypeError for nodejs > 8 #75

Closed ajay-gupta closed 4 years ago

ajay-gupta commented 4 years ago

Some errors are thrown when trying to use this package with Node v10.15.0 throw new ERR_INVALID_ARG_TYPE('options.cwd', 'string', options.cwd) TypeError [ERR_INVALID_ARG_TYPE]: The "options.cwd" property must be of type string

Divzz commented 3 years ago

@darkguy2008 - This fix isn't on the npm registry looks like. I still get the error with parallelshell and had to make the same changes locally to get this to work.