-
Notifications
You must be signed in to change notification settings - Fork 918
Multiple root nodes throwing RangeError instead of Component template should contain exactly one root element #1491
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
Labels
Comments
can second this.
|
It looks like even forgetting to close a string literal in a |
Flyingmana
added a commit
to Flyingmana/vue-loader
that referenced
this issue
Mar 10, 2019
"Multiple root nodes throwing RangeError instead of Component template should contain exactly one root element"
Flyingmana
added a commit
to Flyingmana/vue-loader
that referenced
this issue
Mar 10, 2019
"Multiple root nodes throwing RangeError instead of Component template should contain exactly one root element"
yyx990803
pushed a commit
that referenced
this issue
Mar 11, 2019
This should have been fixed by an update to the error range function (confirmed via tests from #1510) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
15.6.0
Reproduction link
Steps to reproduce
Compile the codesandbox with webpack and vue-loader (don't know how to get webpack to work online - sorry!).
What is expected?
Error should be: Cannot use as component root element because it may contain multiple nodes.
What is actually happening?
Actual error thrown: RangeError: Invalid string length
The text was updated successfully, but these errors were encountered: