Syntax Error: TypeError: Cannot read property 'parseComponent' of undefined

created at 11-25-2021 views: 3

error

I am upgrading vue 2.6.10 to vue 2.6.14 and this error occurs.

Syntax Error: TypeError: Cannot read property'parseComponent' of undefined

solution

Tried to remove node_module,package-lock.json invalid

It turned out to be upgraded together with the template package, and then it’s fine.

"vue-template-compiler": "^2.6.14"
created at:11-25-2021
edited at: 11-25-2021: