peerDependencies WARNING @vue/cli-plugin-eslint@~4.5.0 requires a peer of eslint@>= 1.6.0 < 7.0.0 bu

赵鸿畴
2023-12-01

报错:peerDependencies WARNING @vue/cli-plugin-eslint@~4.5.0 requires a peer of eslint@>= 1.6.0 < 7.0.0 but eslint@8.20.0 was installed
peerDependencies WARNING eslint-plugin-vue@^6.2.2 requires a peer of eslint@^5.0.0 || ^6.0.0 but eslint@8.20.0 was installed
peerDependencies WARNING @vue/cli-plugin-eslint@4.5.19 › eslint-loader@^2.2.1 requires a peer of eslint@>=1.6.0 <7.0.0 but eslint@8.20.0 was installed
deprecate babel-eslint@^10.1.0 babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
deprecate @vue/cli-plugin-eslint@4.5.19 › eslint-loader@^2.2.1 This loader has been deprecated. Please use eslint-webpack-plugin
deprecate @vue/cli-plugin-babel@4.5.19 › @vue/cli-shared-utils@4.5.19 › request@^2.88.2 request has been deprecated, see https://github.com/request/request/issues/3142
deprecate @vue/cli-plugin-babel@4.5.19 › @vue/cli-shared-utils@4.5.19 › request@2.88.2 › har-validator@~5.1.3 this library is no longer supported

解决:

安装固定版本npm i  eslint@5.0.0

 类似资料: