0
votes

System.err: System.err: Error calling module function System.err: System.err: TypeError: application_1.run is not a function System.err: File: "file:///data/data/org.nativescript.HelloWorld/files/app/tns_modules/nativescript-angular/platform-common.js, line: 158, column: 22

while i am building a nativescript application. I am getti9ng above mentioned error . CAn anyone help me out with this?

1
Can you provide the part of the code which is breaking and the command you use to run the build ? - hugoShaka
Its not because of code - Santhosh Adiga U

1 Answers

0
votes

The method run was introduced with NativeScript 4.0.0 so make sure you are using [email protected] or above. Also, use the latest tns-android and tns-ios for full compatibility with the latest modules.