Skip to content

[vue-template-compiler] Upgrading VueJS from 2.0.3 to 2.0.4 freezes build process (using vue-loader) #4127

@jbruni

Description

@jbruni

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

  • Upgrade from Vue 2.0.3 to 2.0.4
  • Run build process

What is Expected?

  • Build process to finish normally

What is actually happening?

  • It freezes (interrupting with CTRL+C returns to CLI prompt)

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions