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,這樣就成功了!
相關文章
- Failed to initialize NVML: Driver/library version mismatchAI
- Error: pngquant failed to build, make sure that libpng-dev is installedErrorAIUIdev
- 【ERROR】OPatch failed with error code 73ErrorAI
- git push origin master 時出現報錯 error: src refspec master does not match any error: failed to push someGitASTErrorAI
- OPatch failed with error code 73AIError
- Vue packages version conflicts 錯誤修復VuePackage
- [Vue warn]: Error in render: "TypeError: Cannot read property 'matched' of undefined" found in <App> at src/App.vueVueErrorUndefinedAPP
- ORA-00600: internal error code, arguments: [qosdExpStatRead: expcnt mismatch], [Error
- git error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500GitErrorRPCAIHTTP
- 解決 React-Native mac10.14.4 執行報錯 error Failed to build iOS projectReactMacErrorAIUIiOSProject
- 【AndroidStudio】Error:Execution failed for task ':app:preDebugAndroidTestBuild'.AndroidErrorAIAPPUI
- Error: Connection activation failed: Device not managed by NetworkManagerErrorAIdev
- E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packagesErrorPackage
- Laravel Sail 環境下啟動專案出現: ERROR: Service 'laravel.test' failed to buildLaravelAIErrorUI
- struts:實現圖片的上傳 argument type mismatch errorError
- FATAL - Fatal error: Target Interaction Manager failed at StartupErrorAI
- ERROR: Failed to resolve: org.greenrobot:eventbus:2.4.0ErrorAI
- weblogic報錯: OPatch failed with error code 73WebAIError
- python爬蟲--urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certiPython爬蟲ErrorAI
- 解決 yum clean all Error rpmdb open failedErrorAI
- PSQLException: ERROR: failed to find conversion function from unknown to charSQLExceptionErrorAIFunction
- bind (ERROR 502): bind(0.0.0.0:8811) failed. Error: Address already in use [98] (埠被佔用)ErrorAI
- ubuntu下pig報錯ERROR 2999: Unexpected internal error. Failed to create DataStorage的解決UbuntuErrorAIAST
- 升級pip報錯ERROR: Could not install packages due to an OSError: [WinError 5]ErrorPackage
- ERROR:Failed to load resource: net::ERR_INCOMPLETE_CHUNKED_ENCODINGErrorAIEncoding
- ERROR: failed to establish dependency between database db_name and diskgroupErrorAIDatabase
- Error - RtlWerpReportException failed with status code :-1073741823. Will try to launch the processErrorExceptionAI
- ElasticSearch啟動報錯 ERROR: [4] bootstrap checks failedElasticsearchErrorbootAI
- Vue : Expected the Promise rejection reason to be an ErrorVuePromiseError
- Error:Cannot build artifact xxx:war exploded‘ because it is included into a circular dependencyErrorUI
- Error connecting with SSL. error:1409442E:SSL routines:SSL3_READ_BYTES:tlsv1 alert protocol versionErrorTLSProtocol
- Error occurred during initialization of boot layer java.lang.module.FindExceptionErrorbootJavaIndexException
- error: install: %pre scriptlet failed (2), skipping cvuqdisk-1.0.9-1ErrorAI
- error: RPC failed; curl 18 transfer closed with outstanding read data remainingErrorRPCAIREM
- wsl損壞,WSLRegisterDistribution Failed with Error 0x8007019eAIError
- Job for docker.service failed because the control process exited with error codeDockerAIError
- ascp: Failed to open TCP connection for SSH, exiting. Session Stop (Error: Failed to open TCP connection for SSH)AITCPSessionError
- [Vue Router] Error Handling and 404sVueError