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

TypeError: Cannot read properties of null (reading 'emitsOptions') #10118

Closed
Andrevwv opened this issue Jan 15, 2024 · 4 comments
Closed

TypeError: Cannot read properties of null (reading 'emitsOptions') #10118

Andrevwv opened this issue Jan 15, 2024 · 4 comments
Labels
need more info Further information is requested

Comments

@Andrevwv
Copy link

Vue version

3.3.13 and later

Link to minimal reproduction

couldn't reproduce in simple projects

Steps to reproduce

As soon as using a directive (e.g.: v-autofocus) on any component the console error appears and breaks reactivity

chunk-A55UQSWB.js?v=5b265856:2396 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'emitsOptions')
at shouldUpdateComponent (chunk-A55UQSWB.js?v=5b265856:2396:27)
at updateComponent (chunk-A55UQSWB.js?v=5b265856:6507:9)
at processComponent (chunk-A55UQSWB.js?v=5b265856:6455:7)
at patch (chunk-A55UQSWB.js?v=5b265856:5910:11)
at patchKeyedChildren (chunk-A55UQSWB.js?v=5b265856:6865:9)
at patchChildren (chunk-A55UQSWB.js?v=5b265856:6779:11)
at processFragment (chunk-A55UQSWB.js?v=5b265856:6418:9)
at patch (chunk-A55UQSWB.js?v=5b265856:5884:9)
at patchKeyedChildren (chunk-A55UQSWB.js?v=5b265856:6865:9)
at patchChildren (chunk-A55UQSWB.js?v=5b265856:6779:11)

What is expected?

The application is working fine

What is actually happening?

Console errors and reactivity don't work

System Info

System:
    OS: Windows 11 10.0.22621
    CPU: (32) x64 AMD Ryzen 9 5950X 16-Core Processor
    Memory: 9.31 GB / 31.92 GB
  Binaries:
    Node: 18.12.1 - C:\Program Files\nodejs\node.EXE
    npm: 9.5.0 - C:\Program Files\nodejs\npm.CMD
  npmPackages:
    vue: 3.3.13 => 3.3.13

Any additional comments?

No response

@LinusBorg
Copy link
Member

We can't help with this issue if we are not provided with a way to reproduce the problem or at the bare minimum, inspect the code involved.

@LinusBorg LinusBorg added the need more info Further information is requested label Jan 15, 2024
@gbyesiltas
Copy link

We have the same error, it happens on navigation for us on Nuxt. When a link is clicked, we see the NuxtLoadingIndicator and gets stuck

@yyx990803
Copy link
Member

If a minimal repro is difficult, a runnable full app is still better than nothing.

@yyx990803
Copy link
Member

Closing as stale due to lack of information to follow up on. Please open a new issue if a reproduction can be provided.

@github-actions github-actions bot locked and limited conversation to collaborators Feb 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
need more info Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants