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

Hang up without error if unclosed comment was in a template #496

Closed
ggaborx opened this issue Nov 25, 2016 · 3 comments
Closed

Hang up without error if unclosed comment was in a template #496

ggaborx opened this issue Nov 25, 2016 · 3 comments

Comments

@ggaborx
Copy link

ggaborx commented Nov 25, 2016

vue: 2.1.3
vue-loader: 10.0.1
vue-template-compiler: 2.1.3

I tried to build my project as I always do but webpack hanged up without any error message.
After an hour I finally figured out that it was a vue-loader issue which caused by a missing close tag for a comment in one of my single file component. It was clearly my fault but without any error message it was very hard to find that bug.

Simplified example:

<template>
   <div>
        <!-- UNCLOSED TEMPLATE COMMENT 
   </div>
</template>
<script>
 
   export default { }

</script>
@coupej
Copy link

coupej commented Dec 2, 2016

+1

I came across the same issue, with webpack hanging silently forever.

vue: 2.1.4
vue-loader: 10.0.2
vue-template-compiler: 2.1.4

Example

<div id="tes"><

@kazupon
Copy link
Member

kazupon commented Jan 9, 2017

I seem this issue same #557

@kazupon
Copy link
Member

kazupon commented Jan 24, 2017

Close (See #557)

@kazupon kazupon closed this as completed Jan 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants