[Appium] spawn EINVAL

When trying to run appium server by giving this on cmd , >appium -p portno,
getting [Appium] spawn EINVAL.
How to resolved this?

@WindowsOS

Update the server and the driver