【发布时间】:2018-11-04 21:00:29
【问题描述】:
我尝试通过 Admin PowerShell 控制台在 Windows 10 上安装 NativeScript。
https://docs.nativescript.org/start/ns-setup-win
我输入此命令并获得以下错误:
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://nativescript.org/setup/win-avd'))"
【问题讨论】:
-
你能把错误翻译成英文吗?这样可以更轻松地为您提供帮助。
-
我阅读了您粘贴的文档。只需在 CMD 而不是 powershell 中运行它。如果你要在 powershell 中运行它,你需要做的就是
(new-object net.webclient).DownloadString('https://nativescript.org/setup/win-avd') -
感谢@ArcSet!我不知道读:)