-
-
Notifications
You must be signed in to change notification settings - Fork 33.6k
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
[vue-template-compiler] Upgrading VueJS from 2.0.3 to 2.0.4 freezes build process (using vue-loader) #4127
Comments
Same here! Webpack freezes when I run Thanks! |
@jbruni can you try to build Vue from latest source and see if that resolves the issue? |
Ok, I think I know where the problem is, will fix soon |
@jbruni pushed fix, please try to build from dev branch source and let me know |
Thanks, Evan. I'm at home now. I'll be back in the office tomorrow. I'll test; first thing in the morning. |
@yyx990803 - Just tested using the 2.0.5 release and it works. Thanks a lot for your amazing work. I sincerely got curious to know which edge case is the case of any of my templates which got caught by the issue... |
Vue.js version
2.0.4
Reproduction Link
It is happening in a big and complex project.
I will see if I can shrink down to a reproduceable scenario.
Steps to reproduce
What is Expected?
What is actually happening?
My scenario is complex, it uses Gulp, Webpack, Babel, vue-loader, etc. I updated
package.json
from VueJS 2.0.3 to 2.0.4 and my build task stucks. If I revert, it runs fine.I trimmed the issue down to
vue-template-compiler
.If I manually switch back vue-template-compiler folder to version 2.0.3 inside node_modules, and run with everything else exactly the same (VueJS 2.0.4), nothing else changed, it gives me that warning error message telling me to "bump to latest"; but if I go further and force it to run with mismatching versions (by changing this line from vue-template-compiler to
if (false) {
), then the build completes.In short: there is an issue at
vue-template-compiler
2.0.4 freezing the compilation of some template in my project.Note: I didn't try to run the compiled result. I believe result is unpredictable. The fact is: same codebase compiles fine with vue-template-compiler 2.0.3, but the build process freezes with vue-template-compiler 2.0.4
I will try to get more info and eventually something to reproduce.
Thank you.
The text was updated successfully, but these errors were encountered: