See Errors tab for more information."
6 Answers, 1 is accepted
Could you provide more info about your problem? It would help if you could provide some further information about your environment (NativeScript CLI, -core-modules, node, typescript versions). Also sending the exact error, which is thrown will help us to validate the issue.
Regards,
nikolay.tsonev
Progress Telerik
If I understand you correctly, you are using a web version of Telerik Platform and the advance option to use the template by cloning it from a specific repository, while creating the project.
If this is so, there could be some mismatch to dependencies versions, which could lead to some errors.
Regarding that, you could create new NativeScript project while selecting a template from the drop-down menu -"NS v3.0 TypeScript Angular", which will allow you using NativeScript 3.0 and you could keep working in the tutorial.
In case this the problem still exists or you are following another workflow, please provide info about the exact steps you are following, while creating the app. It would also help if you send us the whole error log, which could be found in the "Error" tab located at the bottom of the screen.
Also give us info, whether you are using the companion app while deploying the app.
Thank you in advance for your cooperation.
Regards,
nikolay.tsonev
Progress Telerik
According to your comments I have created a new app selecting NS v3.0 TypeScript Angular . Now when click build and after open on the android device I receive this error :
Template parse errors:
"let-" is only supported on template elements. ("
<StackLayout class="page">
<ListView [items]="items" class="list-group">
<ng-template [ERROR ->]let-item="item">
<Label [nsRouterLink]="['/item', item.id]" [text]="item.name"
"): ItemsComponent@4:21
Error: Template parse errors:
"let-" is only supported on template elements. ("
<StackLayout class="page">
<ListView [items]="items" class="list-group">
<ng-template [ERROR ->]let-item="item">
<Label [nsRouterLink]="['/item', item.id]" [text]="item.name"
"): ItemsComponent@4:21
at SyntaxError.BaseError [as constructor] (file:///data/data/com.telerik.NativeScript/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js:1595:29)
at new SyntaxError (file:///data/data/com.telerik.NativeScript/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js:1793:18)
at TemplateParser.parse (file:///data/data/com.telerik.NativeScript/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js:11210:21)
at JitCompiler._compileTemplate (file:///data/data/com.telerik.NativeScript/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js:27480:70)
at file:///data/data/com.telerik.NativeScript/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js:27363:64
at Set.forEach (native)
at JitCompiler._compileComponents (file:///data/data/com.telerik.NativeScript/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js:27363:21)
at createResult (file:///data/data/com.telerik.NativeScript/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js:27246:21)
at ZoneDelegate.invoke (file:///data/data/com.telerik.NativeScript/files/app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js:190:28)
at Zone.run (file:///data/data/com.telerik.NativeScript/files/app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js:83:43)
This problem occurs because of the fact that the template for NativeScript 3.0 is still experimental for Telerik Platform and the companion app do not contain modules 3.0 in itself.
Excuse us for this inconvenience, we will work on resolving this error.
In the meantime to be able to deploy the project on the device, you could use some of the available desktop clients and build and deploy the app, while the device is connected with a cable to the machine.
This scenario will help you to keep working on your project without using the companion app.
Let me know, whether this helps or if I could assist you further.
Regards,
nikolay.tsonev
Progress Telerik