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

Typo in .vue template causes stuck? #462

Closed
wyhooo opened this issue Jan 24, 2017 · 2 comments
Closed

Typo in .vue template causes stuck? #462

wyhooo opened this issue Jan 24, 2017 · 2 comments

Comments

@wyhooo
Copy link

wyhooo commented Jan 24, 2017

I'm on: macOS v10.12.2, node v6.9.1, npm v3.10.10, webpack v1.14.0, vue-cli v2.8.0.
I used vue-cli to build a project with eslint disabled.

There was a typo in my HTML code:
<template>
...
<div class="swiper-slide" v-for="data in swiperData">
<a v-bind:href="data.link"><img v-bind:src="data.img">< /a>
</div>
...
</template>

Note a space was inserted in the </a> tag.

After I ran npm run dev the terminal stuck at "Compiling...". About 30 seconds later the temperature and fan speed of my Mac was out of control. Then I killed the node process.
That occurred every time I ran npm run dev or npm run build until I found the typo in my .vue component.
Does anyone know the reason why it happens? Thanks in advance.

@wyhooo
Copy link
Author

wyhooo commented Jan 24, 2017

Missed one thing: if I disabled all style loaders the above things won't happen.

@LinusBorg
Copy link
Contributor

This is probably something that has to be addressed in the vue-loader repository, not here

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

No branches or pull requests

2 participants