-
Notifications
You must be signed in to change notification settings - Fork 915
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
vue-loader fails to load vue-template-compiler #1781
Comments
Can't reproduce. |
@tarkhil What
I guess using an outdated version, upgrade to Vue CLI v4.5.10 and it should work. |
Yes, thanks. Sorry for false report
…On 11.01.2021 7:44, sontd-0882 wrote:
@tarkhil <https://github.com/tarkhil> What ***@***.***/cli| version do you use?
|vue --version |
I guess using an outdated version, upgrade to Vue CLI v4.5.10 and it
should work.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1781 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAD4K5YXA3NL3E777ZMXYCTSZJ64BANCNFSM4VMCNFSA>.
|
TypeError: The 'compilation' argument must be an instance of Compilation |
I am having the same issue, and I'd wish to use vue-loader without vue-cli. Isn't this possible? Relevant parts of package.json: I tried using both stable (15.9.6) and next version of vue-loader. |
|
I think this might be related: webpack/webpack#12606 |
I think I have found a solution to the problem. The main reason for this problem is the webpack imported by vue-loader and the webpack imported by @vue/cli-service are not the same module. In other words,@vue/cli-service import the webpack in So the key to solve the problem is to unify the webpack version。You can try the following ways until there is no webpack module in clear If the ways do not work, you have to check the version of webpack in |
Version
16.1.2
Reproduction link
https://github.com/tarkhil/vue-loader-error
Steps to reproduce
just run webpack
What is expected?
compiled js files
What is actually happening?
If it's a config issue, it should be mentioned somewhere.
The same with vue-loader@14 yields
And I have no idea what path is required
The text was updated successfully, but these errors were encountered: