gpt4 book ai didi

laravel - 模块构建失败 : Vue packages version mismatch

转载 作者:行者123 更新时间:2023-12-05 01:18:54 28 4
gpt4 key购买 nike

我用的是laravel 5.5,内置webpack

Module build failed: Error:
Vue packages version mismatch:
- vue@2.5.2
- vue-template-compiler@2.4.4
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.

怎么了?有我的 package.json

{
"devDependencies": {
"cross-env": "^5.0.5",
"laravel-mix": "^1.5.0"
},
"dependencies": {
"axios": "^0.16.2",
"bootbox": "^4.4.0",
"bootstrap": "^4.0.0-beta",
"font-awesome": "^4.7.0",
"jquery": "^3.2.1",
"lodash": "^4.17.4",
"marked": "^0.3.6",
"normalize.css": "^7.0.0",
"popper.js": "^1.12.5",
"vue": "^2.5.2",
"vue-loader": "^13.3.0",
"vue-localstorage": "^0.4.2",
"vue-markdown": "^2.2.4",
"vue-masked-input": "^0.5.2",
"vue-simplemde": "^0.4.5",
"vue-template-compiler": "^2.4.4",
"vue-upload-component": "^2.6.0-beta.3"
}
}

即使我将“vue-template-compiler”更改为 2.5.2 - 它也无济于事

最佳答案

npm update --scripts-prepend-node-path=auto 帮助

关于laravel - 模块构建失败 : Vue packages version mismatch,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46759264/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com