【发布时间】:2019-06-15 11:18:34
【问题描述】:
我最近在 mac OS 上的 Sidekick 应用程序中发现新版本的 CLI 已发布,我需要更新。
我退出 Sidekick 并在终端中运行“sudo tns i -g nativescript@latest --unsafe-perm”命令,结果如下:
+ nativescript@5.1.1
updated 67 packages in 14.325s
当我尝试启动 Sidekick 时,我收到以下错误: Sidekick prompt
我返回终端并运行“tns doctor”,结果如下:
✔ Getting environment information
No issues were detected.
✔ Your ANDROID_HOME environment variable is set and points to correct directory.
✔ Your adb from the Android SDK is correctly installed.
✔ The Android SDK is installed.
✔ A compatible Android SDK for compilation is found.
✔ Javac is installed and is configured properly.
✔ The Java Development Kit (JDK) is installed and is configured properly.
✔ Xcode is installed and is configured properly.
✔ xcodeproj is installed and is configured properly.
✔ CocoaPods are installed.
✔ CocoaPods update is not required.
✔ CocoaPods are configured properly.
✔ Your current CocoaPods version is newer than 1.0.0.
✔ Python installed and configured correctly.
✔ The Python 'six' package is found.
✔ Xcode version 10.1.0 satisfies minimum required version 9.
✔ Getting NativeScript components versions information...
⚠ Update available for component nativescript. Your current version is 5.1.0 and the latest available version is 5.1.1.
tns doctor 或 Sidekick 似乎都无法识别更新,我应该如何解决这个问题?
【问题讨论】:
标签: nativescript