Got error when trying app-with-list-view
ariona opened this issue ยท 4 comments
ariona commented
An uncaught Exception occurred on "main" thread.
java.lang.RuntimeException: Unable to start activity ComponentInfo{org.nativescript.hellonsvue/com.tns.NativeScriptActivity}: com.tns.NativeScriptException:
Calling js method onCreate failed
TypeError: Cannot read property 'getKeyedTemplates' of undefined
File: "file:///data/data/org.nativescript.hellonsvue/files/app/tns_modules/nativescript-vue/dist/index.js, line: 2137, column: 6
StackTrace:
Frame: function:'mounted', file:'file:///data/data/org.nativescript.hellonsvue/files/app/tns_modules/nativescript-vue/dist/index.js', line: 10798, column: 22
Frame: function:'callHook', file:'file:///data/data/org.nativescript.hellonsvue/files/app/tns_modules/nativescript-vue/dist/index.js', line: 3217, column: 21
Frame: function:'insert', file:'file:///data/data/org.nativescript.hellonsvue/files/app/tns_modules/nativescript-vue/dist/index.js', line: 9681, column: 7
Frame: function:'invokeInsertHook', file:'file:///data/data/org.nativescript.hellonsvue/files/app/VladimirAmiorkov commented
Hi @tjvantoll maybe change the <template>...</template> tags to <v-template>...</v-template> tags in your app.
tjvantoll commented
Good catch @VladimirAmiorkov! I just sent a PR (#6).
VladimirAmiorkov commented
Ohh totally miss mentioned you in this comment @tjvantoll :) but it worked out good. I wanted to mention @ariona
ariona commented
Will try it tomorrow ๐