vue-eslint-parser605 requires a peer of eslint^500 ^600 but none is installed You must install peer dependencies yourself
The error message suggests that the vue-eslint-parser package requires a specific version of eslint as a peer dependency. Specifically, it requires eslint version ^5.0.0 or ^6.0.0, but it seems that you don't have any version of eslint installed.
To resolve this issue, you need to install eslint yourself by running the following command:
npm install eslint --save-dev
or
yarn add eslint --dev
This will install eslint as a development dependency in your project, satisfying the peer dependency requirement for vue-eslint-parser
原文地址: http://www.cveoy.top/t/topic/iUnn 著作权归作者所有。请勿转载和采集!