[Solved] Syntax Error: TypeError: Cannot read property ‘parseComponent‘ of undefined (vue报错)

report errors:

Syntax Error: TypeError: Cannot read property ‘parseComponent’ of undefined

reason:

The version of Vue is inconsistent with that of Vue template compiler

Solution:

    delete node_ Modules modify the packge.json file, and modify the Vue template compiler to be consistent with the Vue version NPM install

Read More: