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 | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 1

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

    GitHub | 5 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 | 5 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

    GitHub comment 1779#198035716

    GitHub | 11 months ago | sitefinitysteve
    com.tns.NativeScriptException: NativeScript application not initialized correctly. Cannot create extended JS wrapper.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

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

    GitHub | 6 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
  6. 0

    GitHub comment 31#247208080

    GitHub | 5 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

    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 com.tns.Runtime.runModule()
    2. com.tns
      NativeScriptApplication.onCreate
      1. com.tns.Runtime.runModule(Native Method)
      2. com.tns.Runtime.runModule(Runtime.java:241)
      3. com.tns.Runtime.run(Runtime.java:235)
      4. com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:17)
      4 frames
    3. Android Platform
      ActivityThread.handleBindApplication
      1. android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1024)
      2. android.app.ActivityThread.handleBindApplication(ActivityThread.java:5361)
      2 frames