GitOfZGT / vite-plugin-theme-preprocessor

css theme preprocessor plugin for vite
MIT License
161 stars 15 forks source link

eslint@8.9.0 #44

Closed rj76 closed 2 years ago

rj76 commented 2 years ago

When trying to install I'm getting errors that my eslint (8.9.0) is too new.

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: eslint-plugin-import@2.24.2
npm ERR! Found: eslint@8.9.0
npm ERR! node_modules/eslint
npm ERR!   peer eslint@"^6.2.0 || ^7.0.0 || ^8.0.0" from eslint-plugin-vue@8.4.1
npm ERR!   node_modules/eslint-plugin-vue
npm ERR!     dev eslint-plugin-vue@"^8.4.1" from the root project
npm ERR!   peer eslint@">=5" from eslint-utils@3.0.0
npm ERR!   node_modules/eslint-utils
npm ERR!     eslint-utils@"^3.0.0" from eslint@8.9.0
npm ERR!     eslint-utils@"^3.0.0" from eslint-plugin-vue@8.4.1
npm ERR!     node_modules/eslint-plugin-vue
npm ERR!       dev eslint-plugin-vue@"^8.4.1" from the root project
npm ERR!   2 more (vue-eslint-parser, the root project)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0" from eslint-plugin-import@2.24.2
npm ERR! node_modules/eslint-plugin-import
npm ERR!   dev eslint-plugin-import@"^2.20.2" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: eslint@7.32.0
npm ERR! node_modules/eslint
npm ERR!   peer eslint@"^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0" from eslint-plugin-import@2.24.2
npm ERR!   node_modules/eslint-plugin-import
npm ERR!     dev eslint-plugin-import@"^2.20.2" from the root project

Do you happen to have some plans for upgrading this package? :)

GitOfZGT commented 2 years ago

Generally, the devDependencies of NPM packages are not affected. I don't know what the new NPM does. You can try to use Yarn.

rj76 commented 2 years ago

Downgrading to 8.0.0 also solved it for me. I'm now happily using your package with custom scss themes! Thank you for creating this :)