-
-
Notifications
You must be signed in to change notification settings - Fork 247
Closed
Labels
Description
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 thevue
dependency.
Alternatively, printing the underlying error thrown from vue-template-compiler
would help make the root cause of the error clearer.
xinbenlv and johnnyreillyxinbenlv