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
this.fail("Your environment is not configured properly and you will not be able to execute local builds. You are missing the nativescript-cloud extension and you will not be able to execute cloud builds. To continue, choose one of the following options: "+EOL
24
+
+"Run $ tns setup command to run the setup script to try to automatically configure your environment for local builds."+EOL
25
+
+"Run $ tns cloud setup command to install the nativescript-cloud extension to configure your environment for cloud builds."+EOL
26
+
+`Verify that your environment is configured according to the system requirements described at ${this.$staticConfig.SYS_REQUIREMENTS_LINK}`);
this.fail(`Use the $ tns login command to log in with your account and then $ tns cloud ${data.cloudCommandName.toLowerCase()}${data.platform.toLowerCase()} command to build your app in the cloud.`);
constcloudBuildsErrorMessage=`Use the $ tns login command to log in with your account and then $ tns cloud ${data.cloudCommandName.toLowerCase()}${data.platform.toLowerCase()} command to build your app in the cloud.`;
return`To be able to build for ${data.platform}, verify that your environment is configured according to the system requirements described at ${staticConfig.SYS_REQUIREMENTS_LINK}`;
11
-
}
8
+
constmanuallySetupErrorMessage=`To be able to build for ${data.platform}, verify that your environment is configured according to the system requirements described at `;
9
+
constnonInteractiveConsoleErrorMessage=`Your environment is not configured properly and you will not be able to execute local builds. You are missing the nativescript-cloud extension and you will not be able to execute cloud builds. To continue, choose one of the following options: \nRun $ tns setup command to run the setup script to try to automatically configure your environment for local builds.\nRun $ tns cloud setup command to install the nativescript-cloud extension to configure your environment for cloud builds.\nVerify that your environment is configured according to the system requirements described at `;
12
10
13
11
functioncreateTestInjector(){
14
12
consttestInjector=newYok();
15
13
16
14
testInjector.register("doctorService",{});
17
-
testInjector.register("errors",stubs.ErrorsStub);
15
+
testInjector.register("errors",{
16
+
fail: (err: any)=>{
17
+
thrownewError(err.formatStr||err.message||err);
18
+
}
19
+
});
18
20
testInjector.register("extensibilityService",{});
19
21
testInjector.register("logger",stubs.LoggerStub);
20
22
testInjector.register("prompter",{});
@@ -24,14 +26,16 @@ function createTestInjector() {
0 commit comments