Skip to content

"Tag of undefined" on build time #542

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mylmz10 opened this issue Sep 4, 2019 · 1 comment · Fixed by #550
Closed

"Tag of undefined" on build time #542

mylmz10 opened this issue Sep 4, 2019 · 1 comment · Fixed by #550

Comments

@mylmz10
Copy link
Contributor

mylmz10 commented Sep 4, 2019

Version

2.4.0

Reproduction link

https://play.nativescript.org/?template=play-vue&id=KQ1cFW

Platform and OS info

Android & iOS / NativeScript 6.0 / MacOS

Steps to reproduce

I have a router-view component. Router-View components first child is Frame and it renders own children.

Router module checking the project for if it has Vue-Router by the router-view component parent but I don't use vue-router and I created my own router-view component. So in my app, the router-view hasn't parent and app crash.

What is expected?

router-view is not the built-in plugin in nativescript-vue. It shouldn't happen

What is actually happening?

I get "Cannot read property 'tag' of undefined" error while the router-view is not a built-in plugin in nativescript vue.


The line that throws an exception:
https://github.com/nativescript-vue/nativescript-vue/blob/master/platform/nativescript/compiler/modules/router.js#L6

@nativescript-vue-bot
Copy link
Collaborator

We are locking this issue because it has been closed for more than 14 days.

If the issue comes up again please open a new issue with additional details.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging a pull request may close this issue.

2 participants