vue-toutiaohao icon indicating copy to clipboard operation
vue-toutiaohao copied to clipboard

在安装依赖的时候提示需要下载xcode

Open xiaowusang opened this issue 7 years ago • 3 comments

为什么需要下载xcode呢== 还有在run dev的时候提示版本不匹配,真的是心塞塞。。。

xiaowusang avatar Nov 15 '17 09:11 xiaowusang

@xiaowusang hello,有些nodejs之类的基础插件好像是需要xcode支持的,但我忘了是啥来着了,安装下挺好的。run dev是报什么版本提示不匹配,贴出来,我可以帮你看看。

lixingdecai avatar Nov 16 '17 07:11 lixingdecai

我的这个run dev的时候这样报错 这是什么版本不匹配? ERROR in

Vue packages version mismatch:

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 the latest.

@ ./src/main.js 43:11-27

ERROR in

Vue packages version mismatch:

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 the latest.

@ ./src/router/index.js 19:16-44

PasserbyFluid avatar Nov 29 '17 09:11 PasserbyFluid

@cuizhangxiao 很抱歉,上次在公车上看到你的issue,回去就忘了。你可以试试 npm install [email protected]试试。 package.json 中 配置的是 "vue-template-compiler": "^2.1.8"。应该升级了vue-template-compiler 造成的问题。或者把package.json 中 配置修改为 "vue-template-compiler": "2.1.8"。

lixingdecai avatar Dec 08 '17 06:12 lixingdecai