When the version of the vue-template-compiler does not match the version of vue, the following error is thrown (code):
node_modules/fork-ts-checker-webpack-plugin/lib/VueProgram.js:183
throw new Error('When you use `vue` option, make sure to install `vue-template-compiler`.');
^
Error: When you use `vue` option, make sure to install `vue-template-compiler`.
In this case vue-template-compiler is already installed; it's just that there is a version number mismatch. It would be helpful if the following text was added:
If vue-template-compiler is already installed as a dependency, ensure it has the same version number as the vue dependency.
Alternatively, printing the underlying error thrown from vue-template-compiler would help make the root cause of the error clearer.
When the version of the
vue-template-compilerdoes not match the version ofvue, the following error is thrown (code):In this case
vue-template-compileris already installed; it's just that there is a version number mismatch. It would be helpful if the following text was added:Alternatively, printing the underlying error thrown from
vue-template-compilerwould help make the root cause of the error clearer.