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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web133

  • ) 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
  • via GitHub by ross-bradbury
    , 10 months ago
    : "<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
  • ) 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
  • Stack trace

    • 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
    • ativescript-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(Native Method) at com.tns.Runtime.runModule(Runtime.java:241) at com.tns.Runtime.run(Runtime.java:235) at com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:17) at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1024) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5361)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.