我正在 WebStorm 中启动一个新的 VueJS 项目。我创建了一个新的 VueJS 项目,升级了 NPM,添加了 Vuetify ,启动服务器后,它引发了此错误:
ERROR Failed to compile with 1 errors 11:34:19 AM
Module build failed (from ./node_modules/@vue/cli-plugin-eslint/node_modules/eslint-loader/index.js):
TypeError: eslint.CLIEngine is not a constructor
at Object.module.exports (/home/milano/WebstormProjects/xxx/node_modules/@vue/cli-plugin-eslint/node_modules/eslint-loader/index.js:223:27)
我该如何解决这个问题?我应该降级 eslint 吗?
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号