com.tns.NativeScriptException

Error calling module function Error calling module function TypeError: Cannot read property 'messaging' of undefined File: "/data/data/com.boutica.firebase/files/app/tns_modules/nativescript-plugin-firebase/firebase.js, line: 17, column: 32 StackTrace: Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules/nativescript-plugin-firebase/firebase.js', line: 17, column: 33 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules/nativescript-plugin-firebase/firebase.js', line: 50, column: 3 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/main.js', line: 9, column: 16 Frame: function:'require', file:'', line: 1, column: 266 TypeError: Cannot read property 'messaging' of undefined File: "<unknown>, line: 1, column: 265 StackTrace: Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules/nativescript-plugin-firebase/firebase.js', line: 17, column: 33 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules/nativescript-plugin-firebase/firebase.js', line: 50, column: 3 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/main.js', line: 9, column: 16 Frame: function:'require', file:'', line: 1, column: 266 TypeError: Cannot read property 'messaging' of undefined File: "<unknown>, line: 1, column: 265 StackTrace: Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules/nativescript-plugin-firebase/firebase.js', line: 17, column: 33 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules/nativescript-plugin-firebase/firebase.js', line: 50, column: 3 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/main.js', line: 9, column: 16 Frame: function:'require', file:'', line: 1, column: 266

Solutions on the web119

  • , column: 266 TypeError: Cannot read property 'messaging' of undefined File: "<unknown>, line: 1, column: 265 StackTrace: Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules/nativescript-plugin-firebase/firebase.js
  • via GitHub by bradmartin
    , 8 months ago
    Error calling module function TypeError: Cannot read property 'widget' of undefined File: ", line: 1, column: 265 StackTrace: Frame: function:'', file:'/data/data/com.yyy.yy/files/app/tns_modules/nativescript-snackbar/index.js', line: 144
  • Fail to load module: /data/data/com.yourdomain.appname/files/app/app.js TypeError: Cannot read property 'client' of undefined File: "<unknown>, line: 1, column: 265 StackTrace: Frame: function:'', file:'/data/data/com.yourdomain.appname/files
  • Stack trace

    • com.tns.NativeScriptException: Error calling module function Error calling module function TypeError: Cannot read property 'messaging' of undefined File: "/data/data/com.boutica.firebase/files/app/tns_modules
    • ativescript-plugin-firebase/firebase.js, line: 17, column: 32 StackTrace: Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules
    • ativescript-plugin-firebase/firebase.js', line: 17, column: 33 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules
    • ativescript-plugin-firebase/firebase.js', line: 50, column: 3 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/main.js', line: 9, column: 16 Frame: function:'require', file:'', line: 1, column: 266 TypeError: Cannot read property 'messaging' of undefined File: "<unknown>, line: 1, column: 265 StackTrace: Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules
    • ativescript-plugin-firebase/firebase.js', line: 17, column: 33 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules
    • ativescript-plugin-firebase/firebase.js', line: 50, column: 3 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/main.js', line: 9, column: 16 Frame: function:'require', file:'', line: 1, column: 266 TypeError: Cannot read property 'messaging' of undefined File: "<unknown>, line: 1, column: 265 StackTrace: Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules
    • ativescript-plugin-firebase/firebase.js', line: 17, column: 33 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules
    • ativescript-plugin-firebase/firebase.js', line: 50, column: 3 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/main.js', line: 9, column: 16 Frame: function:'require', file:'', line: 1, column: 266 at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4760) at android.app.ActivityThread.access$1500(ActivityThread.java:160) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1381) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5466) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:984) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779) Caused by: com.tns.NativeScriptException: Error calling module function Error calling module function TypeError: Cannot read property 'messaging' of undefined File: "/data/data/com.boutica.firebase/files/app/tns_modules
    • ativescript-plugin-firebase/firebase.js, line: 17, column: 32 StackTrace: Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules
    • ativescript-plugin-firebase/firebase.js', line: 17, column: 33 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules
    • ativescript-plugin-firebase/firebase.js', line: 50, column: 3 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/main.js', line: 9, column: 16 Frame: function:'require', file:'', line: 1, column: 266 TypeError: Cannot read property 'messaging' of undefined File: "<unknown>, line: 1, column: 265 StackTrace: Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules
    • ativescript-plugin-firebase/firebase.js', line: 17, column: 33 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules
    • ativescript-plugin-firebase/firebase.js', line: 50, column: 3 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/main.js', line: 9, column: 16 Frame: function:'require', file:'', line: 1, column: 266 TypeError: Cannot read property 'messaging' of undefined File: "<unknown>, line: 1, column: 265 StackTrace: Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules
    • ativescript-plugin-firebase/firebase.js', line: 17, column: 33 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules
    • ativescript-plugin-firebase/firebase.js', line: 50, column: 3 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/main.js', line: 9, column: 16 Frame: function:'require', file:'', line: 1, column: 266 at com.tns.Runtime.runModule(Native Method) at com.tns.Runtime.runModule(Runtime.java:514) at com.tns.Runtime.run(Runtime.java:509) at com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:17) at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1015) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4757) ... 9 more

    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 are the first who have seen this exception. Write a tip to help other users and build your expert profile.