Preview Log repeats to reload (Vue packages version mismatch error)
Targets
Projects who use Vue.js and libraries that depend on Vue.js (such as
vue-template-compiler
orvue-loader
) and do not have fixed versions inpackage.json
Incident
The following error causes the preview log to reload repeatedly.
Cause
If a minor version of a Vue.js related library such as
vue-template-compiler
orvue-loader
is updated and there is an inconsistency with the version of Vue.js used in the project, the above error will occur.
How to fix it
Open
package.json
and fix the version by removing^
from the versions of Vue.js and related libraries defined indevDependencies
anddependencies
.
↓
Execute
Project Recovery
from the Preview Log.
Last updated