最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

詳解關(guān)于Vue版本不匹配問題(Vue packages version mismatch)

 更新時(shí)間:2018年09月17日 09:48:08   作者:zhengrong__  
這篇文章主要介紹了詳解關(guān)于Vue版本不匹配問題(Vue packages version mismatch),小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,也給大家做個(gè)參考。一起跟隨小編過來看看吧

今天再npm run dev時(shí)遇到一個(gè)錯(cuò)誤:


由于當(dāng)時(shí)vue版本已經(jīng)到2.9.2版本。按照提示更新,無(wú)果。隨后發(fā)現(xiàn)時(shí)由于weex環(huán)境的問題。只要巡行以下代碼

weex xbind repair toolkit-repair
weex repair


即可解決npm run dev無(wú)法啟動(dòng)的問題。

補(bǔ)充:

1、npm install vue-template-compiler@2.5.3 出現(xiàn)此問題

npm ERR! path G:\XXX.Web\node_modules\fsevents\node_modules
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall lstat
npm ERR! Error: EPERM: operation not permitted, lstat 'G:\XXX.Web\node_modules\fsevents\node_modules'
npm ERR!  { Error: EPERM: operation not permitted, lstat 'G:\XXX.Web\node_modules\fsevents\node_modules'
npm ERR!   stack: 'Error: EPERM: operation not permitted, lstat \'G:\\XXX.Web\\node_modules\\fsevents\\node_modules\'',
npm ERR!   errno: -4048,
npm ERR!   code: 'EPERM',
npm ERR!   syscall: 'lstat',
npm ERR!   path: 'G:\\XXX.Web\\node_modules\\fsevents\\node_modules' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2018-03-15T07_11_27_516Z-debug.log

解決方式:

npm install weex-toolkit -g

 2、Error: EPERM: operation not permitted

npm ERR! Error: EPERM: operation not permitted, scandir 'G:\XXX.Web\node_modules\fsevents\node_modules\getpass\node_modules'
npm ERR!  { Error: EPERM: operation not permitted, scandir 'G:\XXX.Web\node_modules\fsevents\node_modules\getpass\node_modules'
npm ERR!   stack: 'Error: EPERM: operation not permitted, scandir \'G:\\XXX.Web\\node_modules\\fsevents\\node_modules\\getpass\\node_modules\'',
npm ERR!   errno: -4048,
npm ERR!   code: 'EPERM',
npm ERR!   syscall: 'scandir',
npm ERR!   path: 'G:\\XXX.Web\\node_modules\\fsevents\\node_modules\\getpass\\node_modules' }

解決方式:

npm cache clean --force

以上就是本文的全部?jī)?nèi)容,希望對(duì)大家的學(xué)習(xí)有所幫助,也希望大家多多支持腳本之家。

相關(guān)文章

最新評(píng)論

徐水县| 海阳市| 朝阳市| 巴里| 西宁市| 霍山县| 山东省| 灵台县| 江山市| 安图县| 广昌县| 古田县| 团风县| 永州市| 开封市| 罗源县| 深水埗区| 九龙城区| 株洲市| 阜康市| 繁昌县| 沙河市| 广水市| 喀喇沁旗| 阿合奇县| 保亭| 苍山县| 德兴市| 石阡县| 灵寿县| 安远县| 东源县| 高清| 宝应县| 桃园县| 旅游| 平顺县| 腾冲县| 肥乡县| 饶阳县| 象山县|