vue-loader get can not resolved after install any loader, I have to reinstall vue-loader
See original GitHub issueVersion
15.9.4
Reproduction link
Steps to reproduce
webpack@ 4.44.0 webpack-cli@4.1.0
vue-loader @15.9.4 “vue-template-compiler”: “^2.6.12”,
What is expected?
run successfully
What is actually happening?
Vue packages version mismatch:
- vue@3.0.3 (/Users/wanghongye/Desktop/HomyeeKing/vue/vue3-ui-design/node_modules/vue/index.js)
- vue-template-compiler@2.6.12 (/Users/wanghongye/Desktop/HomyeeKing/vue/vue3-ui-design/node_modules/vue-template-compiler/package.json)
`Cannot read property 'parseComponent' of undefined`
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Issues with vue-loader - Stack Overflow
I ran into some issues with vue-loader while trying to create a vue project. I started out creating a project with vue init....
Read more >Working with Webpack | Vue CLI
The library provides an abstraction over the raw webpack config, with the ability to define named loader rules and named plugins, and later...
Read more >cannot find module 'vue-loader' - You.com | The AI Search ...
Solution 3. I solved it reinstalling the package. First you need to uninstall it. npm uninstall vue-loader-v16. Copy. Once uninstall completes, install it ......
Read more >vue-loader - npm
vue -loader is not a simple source transform loader. It handles each language blocks inside an SFC with its own dedicated loader chain...
Read more >Webpack for Vue.js 3 from Scratch
Installing Vue Loader. Of course, it has no idea how to read a .vue file. Luckily we can use vue-loader for this ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Install
vue-loader@next
&@vue/compiler-sfc
, and uninstallvue-template-compiler
.See https://github.com/vuejs/vue-next-webpack-preview for reference.
excellent! problem solved