> zfile@3.2.0 serve
> vue-cli-service serve --open
ERROR TypeError: transpileDependencies.map is not a function
TypeError: transpileDependencies.map is not a function
at genTranspileDepRegex (D:\File\Courses\SystemAbilityTraining\zfile-vue\node_modules\@vue\cli-plugin-babel\index.js:5:38)
at module.exports (D:\File\Courses\SystemAbilityTraining\zfile-vue\node_modules\@vue\cli-plugin-babel\index.js:21:29)
at D:\File\Courses\SystemAbilityTraining\zfile-vue\node_modules\@vue\cli-service\lib\Service.js:82:9
at Array.forEach (<anonymous>)
at loadedCallback (D:\File\Courses\SystemAbilityTraining\zfile-vue\node_modules\@vue\cli-service\lib\Service.js:80:20)
at Service.init (D:\File\Courses\SystemAbilityTraining\zfile-vue\node_modules\@vue\cli-service\lib\Service.js:97:14)
at Service.run (D:\File\Courses\SystemAbilityTraining\zfile-vue\node_modules\@vue\cli-service\lib\Service.js:247:16)
at Object.<anonymous> (D:\File\Courses\SystemAbilityTraining\zfile-vue\node_modules\@vue\cli-service\bin\vue-cli-service.js:37:9)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
项目clone到本地后,运行npm install安装依赖,报错。降低版本至@vue-cli@3.x仍报错。
将依赖设置为较新版本后,可以安装完成,但是运行报错。