NativeScript Sidekick - CLI is required (version 5.1.1)

I recently got noticed in the Sidekick application on mac OS that a new version of the CLI was released and that I needed to update.

I quit Sidekick and run the "sudo tns i -g nativescript@latest --unsafe-perm" command in terminal with the following results:

+ nativescript@5.1.1
updated 67 packages in 14.325s

When I try to start Sidekick I get the following error: Sidekick prompt

I head back to terminal and run "tns doctor" with the following results:

✔ 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.

It seems like the update are not recognized by either tns doctor or Sidekick, what should I do to fix this?

Do you have nvm? This can happen when the settings in terminal are different from the global ones. For example it is possible to use one node version in the terminal and other from globally installed Sidekick.

Nativescript CLI 5.1.1 installed, but Sidekick fails to recognise it , It says "Nativescript CLI is required", though Nativescript CLI is installed. tns info Component nativescript has 5.1.1 version and is up to date. Checks your system for configuration problems which might prevent the NativeScript CLI from working properly. info: Displays version information about the NativeScript CLI, core modules, and runtimes. proxy: Displays proxy settings. migrate: Migrates the app dependencies to a form compatible with NativeScript 6.0. update

You shouldn't use sudo - see this blog post on details on how to resolve the issue by removing the need for superuser while doing NPM installs. Similar thread here

CLI Setup, If you haven't already, complete the Quick Setup above. Step 2: Install iOS and Android requirements. With the full setup, the NativeScript CLI builds truly native​  IOS 5.1.1. Provide the following version numbers that the issue occurs with: NativeScript Sidekick: 1.16.1 and 1.16.2 (I updated recently) NativeScript CLI: 5.1.1 and 5.2.3 (I updated recently) CLI extension nativescript-cloud: 1.17.1. CLI extension nativescript-starter-kits: 0.3.5. Tell us how to recreate the issue in as much detail as possible

On tns doctor command we got this message: Getting NativeScript components versions information... This after tried to update with: sudo npm install nativescript -g --unsafe-perm after that we got a lot of error messages. Solved with this simply command: tns proxy clear then run: sudo npm install nativescript -g --unsafe-perm Solved!

Upgrade Instructions, This will automatically download needed files and will update your computer to the latest version of the NativeScript command line. You can type tns --version to​  Recently we released a new version of NativeScript Sidekick. This is a new desktop application (for Windows, Mac, and Linux) that simplifies your NativeScript development experience. So, to celebrate, this week is all about Sidekick on the NativeScript blog! Every day we will do a deep dive into some of the most valuable features of Sidekick.

Requirements, System Requirements. The NativeScript CLI offers both a Quick Setup for getting started quickly, and a Full Setup that allows you to compile iOS and Android  When you are using npm 5.4.0, 5.4.1 or 5.4.2, you cannot create a new app based on a template that contains the nativescript-telerik-ui plugin. Workaround: Install a newer version of npm. When you are using npm 5.0.0, 5.0.1 or 5.0.2, Sidekick cannot install one of its dependencies and you will not be able to build in the cloud.

Migrating to NativeScript 6.0, The highly expected 6.0 release of NativeScript is dangerously close! Both of them may require changes in existing projects. tns migrate is a new CLI command aiming to help with the NativeScript 6.0 migration process. We are preparing a new version of Sidekick in the next couple of days, that will  To upgrade a NativeScript application you need to upgrade several things: NativeScript CLI Tooling, the iOS and Android runtimes and the cross-platform modules. In the steps below you will see how to do this.

[6.7.4](https://github.com/NativeScript/nativescript-cli/compare/v6.7.0 , Drop support for Xcode versions below 10 - new features for iOS require the latest splashes <path to image>` fails for newly created project 5.1.1 (2019, January #4222](https://github.com/NativeScript/nativescript-cli/issues/4222): Sidekick  My brain has trouble making sense of this as there are too many variables (Xcode versions, NativeScript versions, Plugin versions, Pod versions) and inconsistent behavior (worked after the upgrade, but later it didn't).. so this needs to be pinned down further.

Comments
  • I do not have nvm installed.
  • I'll have to check that out when I'm in front of my Mac again. Will come back with the results