Using PowerShell on Windows generated same error, using Command Prompt was fine. Make sure you use Command Prompt instead of PowerShell when running this on Windows.