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

Error messages are not as useful as they could be #258

Closed
mofax opened this issue Jan 19, 2017 · 1 comment · Fixed by #319
Closed

Error messages are not as useful as they could be #258

mofax opened this issue Jan 19, 2017 · 1 comment · Fixed by #319

Comments

@mofax
Copy link

mofax commented Jan 19, 2017

Error messages, could be made more useful.
for example, about 15 minutes after starting out with svelte, I got hit with this

svelte version 1.3.0
compiling Button.html...
Unexpected end of input
 9:     }
10:   };
11: </script>

after a very long long period of agony, I discovered that in my markup, instead of <button></button> I had done <button><button>

checkout example on repl

A more useful error could point out that <button> is missing a closing tag.

@Rich-Harris
Copy link
Member

Sorry for the delayed response — this is fixed in 1.8.1. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants