Every vue component returning Cannot read property 'parseComponent' of undefined Every vue component returning Cannot read property 'parseComponent' of undefined vue.js vue.js

Every vue component returning Cannot read property 'parseComponent' of undefined


I had exacly the same problem and just figured it out, I hope this helps someone.First I changed the vue template compiler to:

"vue-template-compiler": "2.6.11"

and the I also had to change the vue version to the latest realese, in my case:

"vue": "2.6.11"


Try running this command

npm update vue-template-compiler


The version of "vue-template-compiler" should match the version of "vue". If the dependency is declared as:

"vue": "^2.6.11"

Npm will possibly install vue@2.6.12, which is mismatched with the version of "vue-template-compiler". As of what updates between 2.6.11 and 2.6.12, you can refer to the release notes.