Code Monkey home page Code Monkey logo

Comments (2)

wzy4072 avatar wzy4072 commented on August 17, 2024

我的也出现过类似的,

 error  in ./src/components/YgMenu.vue
Module build failed: Error:
Vue packages version mismatch:
- [email protected]
- [email protected]
This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to th
e latest.

应该是因为模块的版本有升级。解决办法就是升级对应模块
npm install vue-template-compiler@latest -S
@latest是模块最新版的意思,然后就ok了

from vue2.0-taopiaopiao.

zhaocunyang avatar zhaocunyang commented on August 17, 2024

不知道为什么官方这么升级 默认vue版本是2.4.3,而vue-template-compiler 最新版本是2.3.4就一直导致这个 问题 把vue版本改到2.3.*,然后从新npm install一下就解决这个恶心的版本问题了

from vue2.0-taopiaopiao.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.