Skip to content
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

Doesn't work with ESM #787

Closed
Trojaner opened this issue Feb 23, 2021 · 3 comments
Closed

Doesn't work with ESM #787

Trojaner opened this issue Feb 23, 2021 · 3 comments

Comments

@Trojaner
Copy link

Trojaner commented Feb 23, 2021

Version

4.0.4

Reproduction link

https://plnkr.co/edit/0TYlxtktHJ1MszrL

Steps to reproduce

  1. Open repro link
  2. Observe error in console

What is expected?

App should show and not generate an error

What is actually happening?

vue.esm-browser.prod.js?module:1 TypeError: Cannot read property 'parent' of null
    at warnDeprecatedUsage (vue-router.esm.js?module:2152)
    at setup (vue-router.esm.js?module:2071)
    at kt (vue.esm-browser.prod.js?module:1)
    at vue.esm-browser.prod.js?module:1
    at vue.esm-browser.prod.js?module:1
    at B (vue.esm-browser.prod.js?module:1)
    at O (vue.esm-browser.prod.js?module:1)
    at b (vue.esm-browser.prod.js?module:1)
    at E (vue.esm-browser.prod.js?module:1)
    at T (vue.esm-browser.prod.js?module:1)


Tested with es-module-shims and Chrome's own ESM implementation, both resulted in the same error

@posva
Copy link
Member

posva commented Feb 23, 2021

Not sure if you are referring to this: #694.

Otherwise, please read https://new-issue.vuejs.org/?repo=vuejs/vue#why-repro

@posva posva closed this as completed Feb 23, 2021
@Trojaner
Copy link
Author

This is a different issue and unrelated to #694. I will try to create an online repro, but you can also use the repo I have linked.

@Trojaner
Copy link
Author

Here is the repro, please reopen the issue: https://plnkr.co/edit/0TYlxtktHJ1MszrL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants