Hi,
I just purchased UI for NativeScript Pro, and is testing it on my new project.
I followed the instruction to download and then install the plugin. Afterwards, add the directives into app.module.ts as described in the instruction.
Steps:
- Create the app (tns create ns-test1 --ng)
- Install the plugin (tns plugin add ~/software/Telerik/UI\ for\ NativeScript\ 1.5.1.184/Packages/nativescript-ui-pro.tgz)
- Import the module and declare the directives in app.module.ts. Code is shown below
import { NgModule } from '@angular/core';
import { NativeScriptModule } from 'nativescript-angular/platform';
// UI for NativeScript Pro
import { DATAFORM_DIRECTIVES } from 'nativescript-telerik-ui-pro/dataform/angular';
import { AppComponent } from './app.component';
@NgModule({
declarations: [
DATAFORM_DIRECTIVES,
AppComponent
],
bootstrap: [AppComponent],
imports: [NativeScriptModule]
})
export class AppModule { }
However, after that, when run the app, the following error comes up and app was not able to start:
file:///app/tns_modules/nativescript-telerik-ui-pro/dataform/dataform.js:268:73: JS ERROR ReferenceError: Can't find variable: TKDataFormDelegate
Nov 19 13:45:00 ClarencedeiMac com.apple.CoreSimulator.SimDevice.C4DE344C-14D4-4E0A-8677-6AC5DF361731.launchd_sim[5730] (UIKitApplication:org.nativescript.nstest1[0x1b66][6530]): Service exited due to Segmentation fault: 11
Environment information
NativeScript version: 2.4.0
iOS and Android SDKs version: iOS Emulator (iOS 10.1)
Version of UI for NativeScript: 1.5.1.184
IDE: Visual Studio Code
Kindly advice
Clarence