Open I-NOZex opened 4 years ago
CLI: 6.3.3-2020-01-13-124104-14076 (windows) / 6.7.8 (mac)
Cross-platform modules: 6.5.10
Runtime(s): (
"tns-ios": { "version": "6.5.2" }, "tns-android": { "version": "6.5.3" }
Plugin(s):
"dependencies": { "@nota/nativescript-webview-ext": "^6.5.2", "@vue/devtools": "^5.3.3", "axios": "^0.19.0", "markdown-it": "^10.0.0", "nativescript-appversion": "^1.4.4", "nativescript-carousel": "^6.1.1", "nativescript-feedback": "^1.5.0", "nativescript-fonticon": "^2.0.1", "nativescript-iqkeyboardmanager": "^1.5.1", "nativescript-pager": "^12.0.0-alpha.8", "nativescript-plugin-firebase": "^10.3.3", "nativescript-raygun": "github:I-NOZex/nativescript-raygun", "nativescript-secure-storage": "^2.6.1", "nativescript-socketio": "^3.3.1", "nativescript-theme-core": "^1.0.6", "nativescript-toasty": "^3.0.0-alpha.2", "nativescript-ui-chart": "^7.1.1", "nativescript-ui-sidedrawer": "^8.0.1", "nativescript-vue": "^2.7.0", "nativescript-vue-devtools": "^1.2.0", "net": "^1.0.2", "tns-core-modules": "^6.5.10", "vuex": "^3.5.1" }, "devDependencies": { "@babel/core": "^7.10.5", "@babel/plugin-proposal-class-properties": "^7.10.4", "@babel/preset-env": "^7.10.4", "@panter/vue-i18next": "^0.15.1", "@vue/cli-plugin-eslint": "^3.11.0", "@vue/cli-service": "^4.4.6", "ajv": "^6.12.3", "babel-eslint": "^10.0.1", "babel-loader": "^8.0.2", "eslint": "^5.16.0", "eslint-plugin-vue": "^5.0.0", "i18next": "^17.0.16", "nativescript-dev-webpack": "^1.4.1", "nativescript-vue-template-compiler": "^2.7.0", "nativescript-worker-loader": "^0.10.0", "node-sass": "^4.9.2", "typescript": "^3.9.6", "vue": "^2.6.11", "vue-loader": "^15.4.0", "vue-template-compiler": "^2.6.11", "webpack-bundle-analyzer": "^3.6.0" },
I'm using this plugin to globally handle translations ( @panter/vue-i18next ), but inside a Pager component I get this error:
JS: [Vue warn]: Error in render: "TypeError: Cannot read property 't' of undefined" JS: JS: (found in <Root>) JS: [Vue warn]: Error in v-on handler: "TypeError: Cannot read property 't' of undefined" System.err: Application uncaught exception in thread "main" com.tns.NativeScriptException: Calling js method onBindViewHolder failed System.err: TypeError: Cannot read property 't' of undefined System.err: at com.tns.Runtime.callJSMethodNative(Native Method) System.err: at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1286) System.err: at com.tns.Runtime.callJSMethodImpl(Runtime.java:1173) System.err: at com.tns.Runtime.callJSMethod(Runtime.java:1160) System.err: at com.tns.Runtime.callJSMethod(Runtime.java:1138) System.err: at com.tns.Runtime.callJSMethod(Runtime.java:1134) System.err: at com.tns.gen.androidx.recyclerview.widget.RecyclerView_Adapter_vendor_99235_26_PagerRecyclerAdapterImpl.onBindViewHolder(RecyclerView_Adapter_vendor_99235_26_PagerRecyclerAdapterImpl.java:51)
My suspicion is that in some way, the Pager context loses or discards the global Vue context.
Which platform(s) does your issue occur on?
Please, provide the following version numbers that your issue occurs with:
CLI: 6.3.3-2020-01-13-124104-14076 (windows) / 6.7.8 (mac)
Cross-platform modules: 6.5.10
Runtime(s): (
Plugin(s):
Please, tell us how to recreate the issue in as much detail as possible.
I'm using this plugin to globally handle translations ( @panter/vue-i18next ), but inside a Pager component I get this error:
My suspicion is that in some way, the Pager context loses or discards the global Vue context.