You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vscode.window.showErrorMessage("NativeScript CLI not found. Use 'nativescript.tnsPath' workspace setting to explicitly set the absolute path to the NativeScript CLI.");
vscode.window.showErrorMessage(`The existing NativeScript extension is compatible with NativeScript CLI v${packageJSON.minNativescriptCliVersion} or greater.
31
+
The currently installed NativeScript CLI is v${cliVersion}.You can update the NativeScript CLI by executing 'npm install -g nativescript'.`);
32
+
33
+
return;
34
+
}
35
+
36
+
Services.cliVersion=cliVersion;
37
+
Services.extensionVersion=packageJSON.version;
38
+
39
+
logExtensionInfo(cliVersion,packageJSON);
28
40
29
41
Services.analyticsService.initialize();
30
42
@@ -106,11 +118,9 @@ export function activate(context: vscode.ExtensionContext) {
this._cliVersionErrorMessage=`The existing NativeScript extension is compatible with NativeScript CLI v${this._minExpectedCliVersion} or greater. The currently installed NativeScript CLI is v${this._cliVersion}. You can update the NativeScript CLI by executing 'npm install -g nativescript'.`;
thrownewError("NativeScript CLI not found. Use 'nativescript.tnsPath' workspace setting to explicitly set the absolute path to the NativeScript CLI.");
0 commit comments