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

Unhandled error during execution of render function #10571

Closed
dejudicibus opened this issue Mar 22, 2024 · 2 comments
Closed

Unhandled error during execution of render function #10571

dejudicibus opened this issue Mar 22, 2024 · 2 comments
Labels
need more info Further information is requested

Comments

@dejudicibus
Copy link

Vue version

3.4.21

Link to minimal reproduction

?

Steps to reproduce

The app abends when specific component PanelQuestions.vue has to be displayed. The console says to report a bug. I did.

unhandled error

What is expected?

That the app is rendered. I tried StackBlitz but nothing is shown. No app but also no error message. I have no ide how to reproduce the problem.

What is actually happening?

I get the erro in the screenshot. No idea why and where it occurs.

System Info

System:
    OS: Windows 10 10.0.19045
    CPU: (24) x64 12th Gen Intel(R) Core(TM) i9-12900K
    Memory: 95.88 GB / 127.79 GB
  Binaries:
    Node: 18.14.1 - C:\Program Files\nodejs\node.EXE  
    npm: 9.3.1 - C:\Program Files\nodejs\npm.CMD      
  Browsers:
    Edge: Chromium (122.0.2365.92)
    Internet Explorer: 11.0.19041.3636
  npmPackages:
    vue: ^3.2.13 => 3.4.21

    @fortawesome/vue-fontawesome: ^3.0.6 => 3.0.6
    @vue/babel-helper-vue-jsx-merge-props:  1.4.0
    @vue/babel-helper-vue-transform-on:  1.2.1
    @vue/babel-plugin-jsx:  1.2.1
    @vue/babel-plugin-resolve-type:  1.2.1
    @vue/babel-plugin-transform-vue-jsx:  1.4.0
    @vue/babel-preset-app:  5.0.8
    @vue/babel-preset-jsx:  1.4.0
    @vue/babel-sugar-composition-api-inject-h:  1.4.0
    @vue/babel-sugar-composition-api-render-instance:  1.4.0
    @vue/babel-sugar-functional-vue:  1.4.0
    @vue/babel-sugar-inject-h:  1.4.0
    @vue/babel-sugar-v-model:  1.4.0
    @vue/babel-sugar-v-on:  1.4.0
    @vue/cli-overlay:  5.0.8
    @vue/cli-plugin-babel: ~5.0.0 => 5.0.8
    @vue/cli-plugin-eslint: ~5.0.0 => 5.0.8
    @vue/cli-plugin-router:  5.0.8
    @vue/cli-plugin-vuex:  5.0.8
    @vue/cli-service: ~5.0.0 => 5.0.8
    @vue/cli-shared-utils:  5.0.8
    @vue/compiler-core:  3.4.21
    @vue/compiler-dom:  3.4.21
    @vue/compiler-sfc:  3.4.21
    @vue/compiler-ssr:  3.4.21
    @vue/component-compiler-utils:  3.3.0
    @vue/reactivity:  3.4.21
    @vue/runtime-core:  3.4.21
    @vue/runtime-dom:  3.4.21
    @vue/server-renderer:  3.4.21
    @vue/shared:  3.4.21
    @vue/web-component-wrapper:  1.3.0
    eslint-plugin-vue: ^8.0.3 => 8.7.1
    primevue: ^3.50.0 => 3.50.0
    vue: ^3.2.13 => 3.4.21
    vue-eslint-parser:  8.3.0
    vue-hot-reload-api:  2.3.4
    vue-loader:  17.4.2 (15.11.1)
    vue-style-loader:  4.1.3
    vue-template-es2015-compiler:  1.9.1
  npmGlobalPackages:
    @vue/cli: Not Found

Any additional comments?

No response

@LinusBorg LinusBorg added the need more info Further information is requested label Mar 23, 2024
@LinusBorg
Copy link
Member

LinusBorg commented Mar 23, 2024

We can't help with this issue if we can't reproduce it. If you can't provide a reproduction, we will have to close this issue.

What you should investigate is the actual error following these warnings:

cannot read properties of undefined (reading '0')

This sounds like you try to render a list with an array, but there is no array yet in your data. We can't tell because you did not even share the component that's throwing the error.

@LinusBorg
Copy link
Member

Closing for inactivity

@github-actions github-actions bot locked and limited conversation to collaborators May 15, 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

2 participants