error in ./src/components/form/Editor.vue Module build failed: Error:Vue packages version mismatch
1.錯誤:
error in ./src/components/form/Editor.vue
Module build failed: Error:
Vue packages version mismatch:
- vue@2.6.12
- vue-template-compiler@2.5.16This may cause things to work incorrectly. Make sure to use the same version f
or 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 s
hould bump vue-template-compiler to the latest.
翻譯錯誤資訊:【Vue packages version mismatch:Vue軟體包版本不匹配】 。
這錯誤是你當前安裝的VUE依賴node_modules是2.6.12版本的,但匯入的專案中用的是2.5.16版本的。
就是說你安裝的node_modules需要和vue-template-compiler對應的版本才可以使專案執行成功!
2.解決:
1.直接在專案中刪除之前的node_modules,
2.然後安裝2.5.16版本的vue依賴:npm install vue@2.5.16 --save
3.執行專案:npm run dev
------------------------------------------------------------------------------------------------------------------
OK,這樣就成功了!
相關文章
- OPatch failed with error code 73 (These not-installed components)AIError
- 【ERROR】OPatch failed with error code 73ErrorAI
- Error: pngquant failed to build, make sure that libpng-dev is installedErrorAIUIdev
- git push origin master 時出現報錯 error: src refspec master does not match any error: failed to push someGitASTErrorAI
- Unity Dotween build errorUnityUIError
- [ERROR] Failed to open logErrorAI
- OPatch failed with error code 73AIError
- [Vue warn]: Error in render: "TypeError: Cannot read property 'matched' of undefined" found in <App> at src/App.vueVueErrorUndefinedAPP
- Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'. > com.android.build.aErrorAIAPPORMJARAndroidUI
- Vue packages version conflicts 錯誤修復VuePackage
- ERROR in Entry module not found Error Can't resolve 'babel' in ' UseErrorBabel
- Error: failed PB timebomb checkErrorAI
- 11GR2'S ONE ERROR "NI cryptographic checksum mismatch error: 12599."Error
- build Error -- extract-text-webpack-pluginUIErrorWebPlugin
- maridb Error 'Operation DROP USER failed forErrorAI
- Opiino: Attach Failed! Error=-1 Ifvp=0AIError
- [筆記].痛哉!!!Error: Can't access JTAG chain, Error: Operation failed筆記ErrorAI
- git error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500GitErrorRPCAIHTTP
- Laravel Sail 環境下啟動專案出現: ERROR: Service 'laravel.test' failed to buildLaravelAIErrorUI
- struts:實現圖片的上傳 argument type mismatch errorError
- FATAL - Fatal error: Target Interaction Manager failed at StartupErrorAI
- Android 3.0 DELETE_FAILED_INTERNAL_ERRORAndroiddeleteAIError
- E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packagesErrorPackage
- Android Gradle Build Error:Some file crunching failed, see logs for details解決辦法AndroidGradleUIErrorAI
- ORA-00600: internal error code, arguments: [qosdExpStatRead: expcnt mismatch], [Error
- Error: Connection activation failed: Device not managed by NetworkManagerErrorAIdev
- ERROR: Failed to resolve: org.greenrobot:eventbus:2.4.0ErrorAI
- weblogic報錯: OPatch failed with error code 73WebAIError
- OPatch failed with error code 73(OracleHomeInventory gets null oracleHomeInfo)AIErrorOracleNull
- LOGIN:ERROR-Failed to initialize policy manager(轉)ErrorAI
- "OPatch failed with error code 73"故障一例AIError
- 解決 React-Native mac10.14.4 執行報錯 error Failed to build iOS projectReactMacErrorAIUIiOSProject
- python爬蟲--urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certiPython爬蟲ErrorAI
- ERROR: failed to establish dependency between database db_name and diskgroupErrorAIDatabase
- 解決 yum clean all Error rpmdb open failedErrorAI
- ElasticSearch啟動報錯 ERROR: [4] bootstrap checks failedElasticsearchErrorbootAI
- oem12c opatchauto failed with error code 135AIError
- Connection to x as user y failed: ERROR: Wrong password for userAIError