com.tns.NativeScriptException: Failed to find module: "timers", relative to: /app/tns_modules/ com.tns.Module.resolvePathHelper(Module.java:220) com.tns.Module.resolvePath(Module.java:60) com.tns.Runtime.runModule(Native Method) com.tns.Runtime.runModule(Runtime.java:241) com.tns.Runtime.run(Runtime.java:235) com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:17) android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1024) android.app.ActivityThread.handleBindApplication(ActivityThread.java:5361) android.app.ActivityThread.-wrap2(ActivityThread.java) android.app.ActivityThread$H.handleMessage(ActivityThread.java:1528) android.os.Handler.dispatchMessage(Handler.java:102) android.os.Looper.loop(Looper.java:154) android.app.ActivityThread.main(ActivityThread.java:6077) java.lang.reflect.Method.invoke(Native Method) com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865) com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755) File: "<unknown>, line: 1, column: 265 StackTrace: Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.groceries/files/app/tns_modules/zone.js/dist/zone-node.js', line: 670, column: 14 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.groceries/files/app/tns_modules/nativescript-angular/application.js', line: 2, column: 1 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.groceries/files/app/main.js', line: 2, column: 21 Frame: function:'require', file:'', line: 1, column: 266

GitHub | georgeonofrei | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    NativeScriptException: Failed to fin module: "timers" relative to: "/app/tns_modules/"

    GitHub | 8 months ago | georgeonofrei
    com.tns.NativeScriptException: Failed to find module: "timers", relative to: /app/tns_modules/ com.tns.Module.resolvePathHelper(Module.java:220) com.tns.Module.resolvePath(Module.java:60) com.tns.Runtime.runModule(Native Method) com.tns.Runtime.runModule(Runtime.java:241) com.tns.Runtime.run(Runtime.java:235) com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:17) android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1024) android.app.ActivityThread.handleBindApplication(ActivityThread.java:5361) android.app.ActivityThread.-wrap2(ActivityThread.java) android.app.ActivityThread$H.handleMessage(ActivityThread.java:1528) android.os.Handler.dispatchMessage(Handler.java:102) android.os.Looper.loop(Looper.java:154) android.app.ActivityThread.main(ActivityThread.java:6077) java.lang.reflect.Method.invoke(Native Method) com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865) com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755) File: "<unknown>, line: 1, column: 265 StackTrace: Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.groceries/files/app/tns_modules/zone.js/dist/zone-node.js', line: 670, column: 14 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.groceries/files/app/tns_modules/nativescript-angular/application.js', line: 2, column: 1 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.groceries/files/app/main.js', line: 2, column: 21 Frame: function:'require', file:'', line: 1, column: 266
  2. 0

    GitHub comment 444#246141939

    GitHub | 8 months ago | ross-bradbury
    com.tns.NativeScriptException: Failed to find module: "timers", relative to: /app/tns_modules/ com.tns.Module.resolvePathHelper(Module.java:220) com.tns.Module.resolvePath(Module.java:60) com.tns.Runtime.runModule(Native Method) com.tns.Runtime.runModule(Runtime.java:241) com.tns.Runtime.run(Runtime.java:235) com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:17) android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1024) android.app.ActivityThread.handleBindApplication(ActivityThread.java:5361) android.app.ActivityThread.-wrap2(ActivityThread.java) android.app.ActivityThread$H.handleMessage(ActivityThread.java:1528) android.os.Handler.dispatchMessage(Handler.java:102) android.os.Looper.loop(Looper.java:154) android.app.ActivityThread.main(ActivityThread.java:6077) java.lang.reflect.Method.invoke(Native Method) com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865) com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755) File: "<unknown>, line: 1, column: 265 StackTrace: Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.newtnsng/files/app/tns_modules/zone.js/dist/zone-node.js', line: 670, column: 14 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.newtnsng/files/app/tns_modules/nativescript-angular/application.js', line: 2, column: 1 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.newtnsng/files/app/main.js', line: 3, column: 21 Frame: function:'require', file:'', line: 1, column: 266
  3. 0

    Failed to find module: "nativescript-angular/application", relative to: /app/tns_modules

    GitHub | 8 months ago | Sulman633
    com.tns.NativeScriptException: Failed to find module: "nativescript-angular/application", relative to: /app/tns_modules/ com.tns.Module.resolvePathHelper(Module.java:220) com.tns.Module.resolvePath(Module.java:60) com.tns.Runtime.runModule(Native Method) com.tns.Runtime.runModule(Runtime.java:241) com.tns.Runtime.run(Runtime.java:235) com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:17) android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1013) android.app.ActivityThread.handleBindApplication(ActivityThread.java:4707) android.app.ActivityThread.-wrap1(ActivityThread.java) android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405) android.os.Handler.dispatchMessage(Handler.java:102) android.os.Looper.loop(Looper.java:148) android.app.ActivityThread.main(ActivityThread.java:5417) java.lang.reflect.Method.invoke(Native Method) com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) File: "<unknown>, line: 1, column: 265 StackTrace: Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.nightlive/files/app/main.js', line: 3, column: 21 Frame: function:'require', file:'', line: 1, column: 266
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 31#247208080

    GitHub | 7 months ago | Sulman633
    com.tns.NativeScriptException: Failed to find module: "globals", relative to: /app/tns_modules/ com.tns.Module.resolvePathHelper(Module.java:220) com.tns.Module.resolvePath(Module.java:60) com.tns.Runtime.runModule(Native Method) com.tns.Runtime.runModule(Runtime.java:241) com.tns.Runtime.run(Runtime.java:235) com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:17) android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1013) android.app.ActivityThread.handleBindApplication(ActivityThread.java:4707) android.app.ActivityThread.-wrap1(ActivityThread.java) android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405) android.os.Handler.dispatchMessage(Handler.java:102) android.os.Looper.loop(Looper.java:148) android.app.ActivityThread.main(ActivityThread.java:5417) java.lang.reflect.Method.invoke(Native Method) com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) File: "<unknown>, line: 1, column: 265 StackTrace: Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.nightlivefrontend/files/app/tns_modules/nativescript-angular/application.js', line: 1, column: 61 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.nightlivefrontend/files/app/main.js', line: 3, column: 21 Frame: function:'require', file:'', line: 1, column: 266
  6. 0

    disableRotation() doesn't work in Android, in iOS it makes the background image flicker

    GitHub | 2 months ago | sudhanshu-15
    com.tns.NativeScriptException: Error calling module function TypeError: Cannot read property 'disableRotation' of undefined File: "file:///data/data/org.sunapsis.iommobile/files/app/tns_modules/nativescript-orientation/orientation.js, line: 60, column: 34 StackTrace: Frame: function:'orientation.disableRotation', file:'file:///data/data/org.sunapsis.iommobile/files/app/tns_modules/nativescript-orientation/orientation.js', line: 60, column: 35 Frame: function:'', file:'file:///data/data/org.sunapsis.iommobile/files/app/app.js', line: 17, column: 13 Frame: function:'require', file:'', line: 1, column: 266 TypeError: Cannot read property 'disableRotation' of undefined File: "<unknown>, line: 1, column: 265 StackTrace: Frame: function:'orientation.disableRotation', file:'file:///data/data/org.sunapsis.iommobile/files/app/tns_modules/nativescript-orientation/orientation.js', line: 60, column: 35 Frame: function:'', file:'file:///data/data/org.sunapsis.iommobile/files/app/app.js', line: 17, column: 13 Frame: function:'require', file:'', line: 1, column: 266

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.tns.NativeScriptException

      Failed to find module: "timers", relative to: /app/tns_modules/ com.tns.Module.resolvePathHelper(Module.java:220) com.tns.Module.resolvePath(Module.java:60) com.tns.Runtime.runModule(Native Method) com.tns.Runtime.runModule(Runtime.java:241) com.tns.Runtime.run(Runtime.java:235) com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:17) android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1024) android.app.ActivityThread.handleBindApplication(ActivityThread.java:5361) android.app.ActivityThread.-wrap2(ActivityThread.java) android.app.ActivityThread$H.handleMessage(ActivityThread.java:1528) android.os.Handler.dispatchMessage(Handler.java:102) android.os.Looper.loop(Looper.java:154) android.app.ActivityThread.main(ActivityThread.java:6077) java.lang.reflect.Method.invoke(Native Method) com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865) com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755) File: "<unknown>, line: 1, column: 265 StackTrace: Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.groceries/files/app/tns_modules/zone.js/dist/zone-node.js', line: 670, column: 14 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.groceries/files/app/tns_modules/nativescript-angular/application.js', line: 2, column: 1 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.groceries/files/app/main.js', line: 2, column: 21 Frame: function:'require', file:'', line: 1, column: 266

      at android.app.ActivityThread.handleBindApplication()
    2. Android Platform
      ActivityThread.handleBindApplication
      1. android.app.ActivityThread.handleBindApplication(ActivityThread.java:5364)
      1 frame