-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Closed
Labels
Description
Version
2.3.4
Reproduction link
Steps to reproduce
I haven't been able to make a reproduce. But our environment is:
Vue 2.3.4 with SSR that is using renderToStream. This error occurs just sometimes so it feels like a race condition or something. The error:
TypeError: i.setAttribute is not a function
at Array.an (vendor.5d5b0bb….js:formatted:4401)
at b (vendor.5d5b0bb….js:formatted:6822)
at L (vendor.5d5b0bb….js:formatted:6788)
at b (vendor.5d5b0bb….js:formatted:6825)
at L (vendor.5d5b0bb….js:formatted:6788)
at b (vendor.5d5b0bb….js:formatted:6825)
at L (vendor.5d5b0bb….js:formatted:6788)
at b (vendor.5d5b0bb….js:formatted:6825)
at o.e.nodeOps [as __patch__] (vendor.5d5b0bb….js:formatted:6887)
at o.e._update (vendor.5d5b0bb….js:formatted:6393)
When look in the source it's this line that breaks: https://github.com/vuejs/vue/blob/dev/src/platforms/web/runtime/modules/class.js#L40
Cause el
is never null-checked.
What is expected?
The site to render correctly
What is actually happening?
Getting an client-side error that breaks the site.