Cannot read property 'tagName' of null #3212

scofield-ua opened this Issue Jul 2, 2016 · 1 comment


None yet

1 participant


Hello. I'm getting Uncaught TypeError: Cannot read property 'tagName' of null error when template tag is empty - <template id="someId"></template>.

Vue.js version


Reproduction Link


It's works, when something inside template:

@yyx990803 yyx990803 closed this in 163994c Jul 2, 2016


@jaychsu jaychsu added a commit to jaychsu/vue that referenced this issue Sep 7, 2016
@jaychsu jaychsu Merge remote-tracking branch 'upstream/dev' into dev
* upstream/dev: (100 commits)
  typo fix (#3575)
  update backers
  update sponsors
  improve debug message for invalid dynamic component (#3524)
  Handle back-ticks in expression (#3292)
  make v-model checkbox updates replace the bound array (fix #3307)
  add juejin to sponsors
  update backers
  Typo fix (#3264)
  fix $refs updateing (#3217)
  Fix links for Statamic and No Divide Studio (#3221)
  update sponsors
  allow empty template (close #3212)
  textarea with v-pre should skip compile (#3202)
  fix props validation fails (#3183) (#3193)
  fix single-letter hyphenated props (fix #3187)
  update backers
  tweak directive sort, use loops since its perf critical
  make directives sort stable. (#3149)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment