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

SSR hydration error with <a-steps> in Nuxt 3: "Cannot set properties of null (setting '__vnode')" #8056

Closed
NuwanDhanushka opened this issue Mar 9, 2025 · 1 comment
Labels

Comments

@NuwanDhanushka
Copy link

  • Environment:

    • Nuxt 3 (version 3.13.x)
    • Ant Design Vue 4.2.x
    • Node 18+
  • Reproduction:
    A minimal project demonstrating the error is available on CodeSandbox:
    https://codesandbox.io/p/devbox/336f66

  • Steps to Reproduce:

    1. Open the CodeSandbox link.
    2. Look at pages/index.vue where <a-steps> is used.
    3. Refresh or interact with the page.
    4. Observe the console error:
      Cannot set properties of null (setting '__vnode')
      or
      Cannot read properties of null (reading 'nodeType')
      
    5. Wrapping <a-steps> in <client-only> does not fix it; disabling SSR in nuxt.config does.
  • Expected Behavior:
    <a-steps> should render properly in a standard Nuxt 3 SSR environment without throwing hydration errors.

  • Notes:

    • The same issue occurs across multiple 4.2.x versions of Ant Design Vue.

Thank you for investigating! Let me know if any additional info is needed.

Copy link

github-actions bot commented Mar 9, 2025

Hello @NuwanDhanushka, your issue has been closed because it does not conform to our issue requirements. Please use the Issue Helper to create an issue, thank you!

你好 @NuwanDhanushka,为了能够进行高效沟通,我们对 issue 有一定的格式要求,你的 issue 因为不符合要求而被自动关闭。你可以通过 issue 助手 来创建 issue 以方便我们定位错误。谢谢配合!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant