启动过程:由于错误,无法运行此命令:未知错误(0xffffffff)

时间:2017-08-17 00:13:31

标签: powershell

我正在尝试在Windows上设置NativeScript。我正在关注网站上的步骤,当我输入时:

@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://www.nativescript.org/setup/win'))"

我收到此错误:

Start-Process : This command cannot be run due to the error: Unknown error
(0xffffffff).
At line:25 char:2
+     Start-Process -FilePath PowerShell.exe -Verb Runas -Wait -Argumen ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Start-Process], InvalidOperationException
    + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand

0 个答案:

没有答案