-
-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve error message for mismatched vue
, vue-template-compiler
#209
Comments
+10000000000 |
@fastfedora you want to update your link to code to https://github.com/Realytics/fork-ts-checker-webpack-plugin/blob/4537c161e26a4961663236e208644ddd3d84a9ca/src/VueProgram.ts#L273 (permlink) |
Sounds good. Would you like to submit a PR? |
I no longer am on the project I was using Vue for, so have no easy way to test the code for a PR. But a decent fix would be to change lines 313-317 from:
To:
|
@fastfedora , @xinbenlv |
When the version of the
vue-template-compiler
does not match the version ofvue
, the following error is thrown (code):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:Alternatively, printing the underlying error thrown from
vue-template-compiler
would help make the root cause of the error clearer.The text was updated successfully, but these errors were encountered: