Skip to content
This repository has been archived by the owner on Nov 14, 2020. It is now read-only.

Angular demo doesn't work #31

Open
carlosen14 opened this issue Jul 2, 2019 · 0 comments · May be fixed by #34
Open

Angular demo doesn't work #31

carlosen14 opened this issue Jul 2, 2019 · 0 comments · May be fixed by #34

Comments

@carlosen14
Copy link

Make sure to check the demo app(s) for sample usage

Did it.

Make sure to check the existing issues in this repository

Recent related is from January and is closed.

If the demo apps cannot help and there is no issue for your problem, tell us about it

cannot launch demo

This shows the emulator

An uncaught Exception occurred on "main" thread.
java.lang.RuntimeException: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: 

Error calling module function 

Error calling module function 

Error calling module function 

Error calling module function 

Error calling module function 

Error: com.tns.NativeScriptException: Failed to find module: "../", relative to: app/tns_modules/nativescript-sentry/angular/
    com.tns.Module.resolvePathHelper(Module.java:146)
    com.tns.Module.resolvePath(Module.java:55)
    com.tns.Runtime.runModule(Native Method)
    com.tns.Runtime.runModule(Runtime.java:624)
    com.tns.Runtime.run(Runtime.java:616)
    com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:21)
    android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1154)
    android.app.ActivityThread.handleBindApplication(ActivityThread.java:5871)
    android.app.ActivityThread.access$1100(ActivityThread.java:199)
    android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650)
    android.os.Handler.dispatchMessage(Handler.java:106)
    android.os.Looper.loop(Looper.java:193)
    android.app.ActivityThread.main(ActivityThread.java:6669)
    java.lang.reflect.Method.invoke(Native Method)
    com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
    com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
File: "<unknown>, line: 1, column: 265

StackTrace: 
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/error.handler.js', line: 4, column: 11
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/app.module.js', line: 4, column: 23
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/index.js', line: 3, column: 20
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/app/app.module.js', line: 5, column: 17
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/main.js', line: 5, column: 20
	Frame: function:'require', file:'', line: 1, column: 266


Error: com.tns.NativeScriptException: Failed to find module: "../", relative to: app/tns_modules/nativescript-sentry/angular/
    com.tns.Module.resolvePathHelper(Module.java:146)
    com.tns.Module.resolvePath(Module.java:55)
    com.tns.Runtime.runModule(Native Method)
    com.tns.Runtime.runModule(Runtime.java:624)
    com.tns.Runtime.run(Runtime.java:616)
    com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:21)
    android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1154)
    android.app.ActivityThread.handleBindApplication(ActivityThread.java:5871)
    android.app.ActivityThread.access$1100(ActivityThread.java:199)
    android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650)
    android.os.Handler.dispatchMessage(Handler.java:106)
    android.os.Looper.loop(Looper.java:193)
    android.app.ActivityThread.main(ActivityThread.java:6669)
    java.lang.reflect.Method.invoke(Native Method)
    com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
    com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
File: "<unknown>, line: 1, column: 265

StackTrace: 
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/error.handler.js', line: 4, column: 11
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/app.module.js', line: 4, column: 23
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/index.js', line: 3, column: 20
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/app/app.module.js', line: 5, column: 17
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/main.js', line: 5, column: 20
	Frame: function:'require', file:'', line: 1, column: 266


Error: com.tns.NativeScriptException: Failed to find module: "../", relative to: app/tns_modules/nativescript-sentry/angular/
    com.tns.Module.resolvePathHelper(Module.java:146)
    com.tns.Module.resolvePath(Module.java:55)
    com.tns.Runtime.runModule(Native Method)
    com.tns.Runtime.runModule(Runtime.java:624)
    com.tns.Runtime.run(Runtime.java:616)
    com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:21)
    android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1154)
    android.app.ActivityThread.handleBindApplication(ActivityThread.java:5871)
    android.app.ActivityThread.access$1100(ActivityThread.java:199)
    android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650)
    android.os.Handler.dispatchMessage(Handler.java:106)
    android.os.Looper.loop(Looper.java:193)
    android.app.ActivityThread.main(ActivityThread.java:6669)
    java.lang.reflect.Method.invoke(Native Method)
    com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
    com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
File: "<unknown>, line: 1, column: 265

StackTrace: 
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/error.handler.js', line: 4, column: 11
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/app.module.js', line: 4, column: 23
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/index.js', line: 3, column: 20
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/app/app.module.js', line: 5, column: 17
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/main.js', line: 5, column: 20
	Frame: function:'require', file:'', line: 1, column: 266


Error: com.tns.NativeScriptException: Failed to find module: "../", relative to: app/tns_modules/nativescript-sentry/angular/
    com.tns.Module.resolvePathHelper(Module.java:146)
    com.tns.Module.resolvePath(Module.java:55)
    com.tns.Runtime.runModule(Native Method)
    com.tns.Runtime.runModule(Runtime.java:624)
    com.tns.Runtime.run(Runtime.java:616)
    com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:21)
    android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1154)
    android.app.ActivityThread.handleBindApplication(ActivityThread.java:5871)
    android.app.ActivityThread.access$1100(ActivityThread.java:199)
    android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650)
    android.os.Handler.dispatchMessage(Handler.java:106)
    android.os.Looper.loop(Looper.java:193)
    android.app.ActivityThread.main(ActivityThread.java:6669)
    java.lang.reflect.Method.invoke(Native Method)
    com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
    com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
File: "<unknown>, line: 1, column: 265

StackTrace: 
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/error.handler.js', line: 4, column: 11
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/app.module.js', line: 4, column: 23
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/index.js', line: 3, column: 20
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/app/app.module.js', line: 5, column: 17
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/main.js', line: 5, column: 20
	Frame: function:'require', file:'', line: 1, column: 266


Error: com.tns.NativeScriptException: Failed to find module: "../", relative to: app/tns_modules/nativescript-sentry/angular/
    com.tns.Module.resolvePathHelper(Module.java:146)
    com.tns.Module.resolvePath(Module.java:55)
    com.tns.Runtime.runModule(Native Method)
    com.tns.Runtime.runModule(Runtime.java:624)
    com.tns.Runtime.run(Runtime.java:616)
    com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:21)
    android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1154)
    android.app.ActivityThread.handleBindApplication(ActivityThread.java:5871)
    android.app.ActivityThread.access$1100(ActivityThread.java:199)
    android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650)
    android.os.Handler.dispatchMessage(Handler.java:106)
    android.os.Looper.loop(Looper.java:193)
    android.app.ActivityThread.main(ActivityThread.java:6669)
    java.lang.reflect.Method.invoke(Native Method)
    com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
    com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
File: "<unknown>, line: 1, column: 265

StackTrace: 
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/error.handler.js', line: 4, column: 11
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/app.module.js', line: 4, column: 23
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/index.js', line: 3, column: 20
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/app/app.module.js', line: 5, column: 17
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/main.js', line: 5, column: 20
	Frame: function:'require', file:'', line: 1, column: 266


Error: com.tns.NativeScriptException: Failed to find module: "../", relative to: app/tns_modules/nativescript-sentry/angular/
    com.tns.Module.resolvePathHelper(Module.java:146)
    com.tns.Module.resolvePath(Module.java:55)
    com.tns.Runtime.runModule(Native Method)
    com.tns.Runtime.runModule(Runtime.java:624)
    com.tns.Runtime.run(Runtime.java:616)
    com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:21)
    android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1154)
    android.app.ActivityThread.handleBindApplication(ActivityThread.java:5871)
    android.app.ActivityThread.access$1100(ActivityThread.java:199)
    android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650)
    android.os.Handler.dispatchMessage(Handler.java:106)
    android.os.Looper.loop(Looper.java:193)
    android.app.ActivityThread.main(ActivityThread.java:6669)
    java.lang.reflect.Method.invoke(Native Method)
    com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
    com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
File: "<unknown>, line: 1, column: 265

StackTrace: 
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/error.handler.js', line: 4, column: 11
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/app.module.js', line: 4, column: 23
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/index.js', line: 3, column: 20
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/app/app.module.js', line: 5, column: 17
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/main.js', line: 5, column: 20
	Frame: function:'require', file:'', line: 1, column: 266


	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5876)
	at android.app.ActivityThread.access$1100(ActivityThread.java:199)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loop(Looper.java:193)
	at android.app.ActivityThread.main(ActivityThread.java:6669)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Caused by: com.tns.NativeScriptException: 

Error calling module function 

Error calling module function 

Error calling module function 

Error calling module function 

Error calling module function 

Error: com.tns.NativeScriptException: Failed to find module: "../", relative to: app/tns_modules/nativescript-sentry/angular/
    com.tns.Module.resolvePathHelper(Module.java:146)
    com.tns.Module.resolvePath(Module.java:55)
    com.tns.Runtime.runModule(Native Method)
    com.tns.Runtime.runModule(Runtime.java:624)
    com.tns.Runtime.run(Runtime.java:616)
    com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:21)
    android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1154)
    android.app.ActivityThread.handleBindApplication(ActivityThread.java:5871)
    android.app.ActivityThread.access$1100(ActivityThread.java:199)
    android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650)
    android.os.Handler.dispatchMessage(Handler.java:106)
    android.os.Looper.loop(Looper.java:193)
    android.app.ActivityThread.main(ActivityThread.java:6669)
    java.lang.reflect.Method.invoke(Native Method)
    com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
    com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
File: "<unknown>, line: 1, column: 265

StackTrace: 
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/error.handler.js', line: 4, column: 11
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/app.module.js', line: 4, column: 23
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/index.js', line: 3, column: 20
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/app/app.module.js', line: 5, column: 17
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/main.js', line: 5, column: 20
	Frame: function:'require', file:'', line: 1, column: 266


Error: com.tns.NativeScriptException: Failed to find module: "../", relative to: app/tns_modules/nativescript-sentry/angular/
    com.tns.Module.resolvePathHelper(Module.java:146)
    com.tns.Module.resolvePath(Module.java:55)
    com.tns.Runtime.runModule(Native Method)
    com.tns.Runtime.runModule(Runtime.java:624)
    com.tns.Runtime.run(Runtime.java:616)
    com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:21)
    android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1154)
    android.app.ActivityThread.handleBindApplication(ActivityThread.java:5871)
    android.app.ActivityThread.access$1100(ActivityThread.java:199)
    android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650)
    android.os.Handler.dispatchMessage(Handler.java:106)
    android.os.Looper.loop(Looper.java:193)
    android.app.ActivityThread.main(ActivityThread.java:6669)
    java.lang.reflect.Method.invoke(Native Method)
    com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
    com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
File: "<unknown>, line: 1, column: 265

StackTrace: 
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/error.handler.js', line: 4, column: 11
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/app.module.js', line: 4, column: 23
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/index.js', line: 3, column: 20
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/app/app.module.js', line: 5, column: 17
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/main.js', line: 5, column: 20
	Frame: function:'require', file:'', line: 1, column: 266


Error: com.tns.NativeScriptException: Failed to find module: "../", relative to: app/tns_modules/nativescript-sentry/angular/
    com.tns.Module.resolvePathHelper(Module.java:146)
    com.tns.Module.resolvePath(Module.java:55)
    com.tns.Runtime.runModule(Native Method)
    com.tns.Runtime.runModule(Runtime.java:624)
    com.tns.Runtime.run(Runtime.java:616)
    com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:21)
    android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1154)
    android.app.ActivityThread.handleBindApplication(ActivityThread.java:5871)
    android.app.ActivityThread.access$1100(ActivityThread.java:199)
    android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650)
    android.os.Handler.dispatchMessage(Handler.java:106)
    android.os.Looper.loop(Looper.java:193)
    android.app.ActivityThread.main(ActivityThread.java:6669)
    java.lang.reflect.Method.invoke(Native Method)
    com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
    com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
File: "<unknown>, line: 1, column: 265

StackTrace: 
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/error.handler.js', line: 4, column: 11
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/app.module.js', line: 4, column: 23
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/index.js', line: 3, column: 20
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/app/app.module.js', line: 5, column: 17
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/main.js', line: 5, column: 20
	Frame: function:'require', file:'', line: 1, column: 266


Error: com.tns.NativeScriptException: Failed to find module: "../", relative to: app/tns_modules/nativescript-sentry/angular/
    com.tns.Module.resolvePathHelper(Module.java:146)
    com.tns.Module.resolvePath(Module.java:55)
    com.tns.Runtime.runModule(Native Method)
    com.tns.Runtime.runModule(Runtime.java:624)
    com.tns.Runtime.run(Runtime.java:616)
    com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:21)
    android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1154)
    android.app.ActivityThread.handleBindApplication(ActivityThread.java:5871)
    android.app.ActivityThread.access$1100(ActivityThread.java:199)
    android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650)
    android.os.Handler.dispatchMessage(Handler.java:106)
    android.os.Looper.loop(Looper.java:193)
    android.app.ActivityThread.main(ActivityThread.java:6669)
    java.lang.reflect.Method.invoke(Native Method)
    com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
    com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
File: "<unknown>, line: 1, column: 265

StackTrace: 
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/error.handler.js', line: 4, column: 11
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/app.module.js', line: 4, column: 23
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/index.js', line: 3, column: 20
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/app/app.module.js', line: 5, column: 17
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/main.js', line: 5, column: 20
	Frame: function:'require', file:'', line: 1, column: 266


Error: com.tns.NativeScriptException: Failed to find module: "../", relative to: app/tns_modules/nativescript-sentry/angular/
    com.tns.Module.resolvePathHelper(Module.java:146)
    com.tns.Module.resolvePath(Module.java:55)
    com.tns.Runtime.runModule(Native Method)
    com.tns.Runtime.runModule(Runtime.java:624)
    com.tns.Runtime.run(Runtime.java:616)
    com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:21)
    android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1154)
    android.app.ActivityThread.handleBindApplication(ActivityThread.java:5871)
    android.app.ActivityThread.access$1100(ActivityThread.java:199)
    android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650)
    android.os.Handler.dispatchMessage(Handler.java:106)
    android.os.Looper.loop(Looper.java:193)
    android.app.ActivityThread.main(ActivityThread.java:6669)
    java.lang.reflect.Method.invoke(Native Method)
    com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
    com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
File: "<unknown>, line: 1, column: 265

StackTrace: 
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/error.handler.js', line: 4, column: 11
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/app.module.js', line: 4, column: 23
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/index.js', line: 3, column: 20
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/app/app.module.js', line: 5, column: 17
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/main.js', line: 5, column: 20
	Frame: function:'require', file:'', line: 1, column: 266


Error: com.tns.NativeScriptException: Failed to find module: "../", relative to: app/tns_modules/nativescript-sentry/angular/
    com.tns.Module.resolvePathHelper(Module.java:146)
    com.tns.Module.resolvePath(Module.java:55)
    com.tns.Runtime.runModule(Native Method)
    com.tns.Runtime.runModule(Runtime.java:624)
    com.tns.Runtime.run(Runtime.java:616)
    com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:21)
    android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1154)
    android.app.ActivityThread.handleBindApplication(ActivityThread.java:5871)
    android.app.ActivityThread.access$1100(ActivityThread.java:199)
    android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650)
    android.os.Handler.dispatchMessage(Handler.java:106)
    android.os.Looper.loop(Looper.java:193)
    android.app.ActivityThread.main(ActivityThread.java:6669)
    java.lang.reflect.Method.invoke(Native Method)
    com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
    com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
File: "<unknown>, line: 1, column: 265

StackTrace: 
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/error.handler.js', line: 4, column: 11
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/app.module.js', line: 4, column: 23
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/tns_modules/nativescript-sentry/angular/index.js', line: 3, column: 20
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/app/app.module.js', line: 5, column: 17
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.demong/files/app/main.js', line: 5, column: 20
	Frame: function:'require', file:'', line: 1, column: 266


	at com.tns.Runtime.runModule(Native Method)
	at com.tns.Runtime.runModule(Runtime.java:624)
	at com.tns.Runtime.run(Runtime.java:616)
	at com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:21)
	at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1154)
	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5871)
	... 8 more

Which platform(s) does your issue occur on?

  • Android
  • 9
  • emulator

Please, provide the following version numbers that your issue occurs with:

  • CLI: 5.2.0
  • Cross-platform modules: 5.2.2

This info is from the demo-ng

  • Runtime(s): "tns-android": 5.2.1 and "tns-ios": 5.2.0
  • Plugin(s):
  "dependencies": {
    "@angular/animations": "~7.2.8",
    "@angular/common": "~7.2.8",
    "@angular/compiler": "~7.2.8",
    "@angular/core": "~7.2.8",
    "@angular/forms": "~7.2.8",
    "@angular/http": "~7.2.8",
    "@angular/platform-browser": "~7.2.8",
    "@angular/platform-browser-dynamic": "~7.2.8",
    "@angular/router": "~7.2.8",
    "nativescript-angular": "~7.2.2",
    "nativescript-sentry": "file:../src",
    "nativescript-theme-core": "~1.0.4",
    "reflect-metadata": "~0.1.13",
    "rxjs": "~6.4.0",
    "tns-core-modules": "~5.2.2",
    "zone.js": "~0.8.29"
  },
  "devDependencies": {
    "@nativescript/schematics": "~0.5.1",
    "nativescript-dev-typescript": "~0.9.0",
    "nativescript-dev-webpack": "~0.20.2",
    "@angular/compiler-cli": "~7.2.8",
    "@ngtools/webpack": "~7.3.5",
    "tslint": "~5.14.0"
  }

Please, tell us how to recreate the issue in as much detail as possible.

npm i #throw an error
npm ci # same as npm i but optimized to work
 tns run android # compiled correctly but throw an error because you left a trailing comma on ./demo-ng/src/package.json on your latest commit 
#fix the comma
tns run android # show an error message

Is there any code involved?

  • is the demo.
@jeremypele jeremypele linked a pull request Jul 10, 2019 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant