bens-blog-boilerplate icon indicating copy to clipboard operation
bens-blog-boilerplate copied to clipboard

Several components need upgrade

Open adriatic opened this issue 5 years ago • 0 comments

Running the app in the development mode results in several hundreds of identical errors of the type

√ Client: Compiled with some errors in 14.89s
Module Error (from ./node_modules/eslint-loader/dist/cjs.js):

c:\work\blog\bens-blog-boilerplate\components\AppFooter.vue
   1:9   error  Delete `␍`  prettier/prettier
   2:46  error  Delete `␍`  prettier/prettier
   3:1   error  Delete `␍`  prettier/prettier
...

Running the command npm run lint -- --fix addresses all of these errors. See the note at the end of this issue, explaining the background of this problem.


After applying the above fix, I got:

 WARN  Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

This suggested command (above) results with:

λ npx browserslist@latest --update-db
npx: installed 6 in 2.012s
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Current version: 1.0.30001064
New version:     1.0.30001165
Removing old caniuse-lite from lock file
Installing new caniuse-lite version
$ yarn add -W caniuse-lite
warning "@nuxtjs/eslint-config > eslint-plugin-jest > @typescript-eslint/experimental-utils > @typescript-eslint/typescript-estree > [email protected]" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
warning "@nuxtjs/eslint-module > [email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
warning "@nuxtjs/stylelint-module > [email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
warning " > [email protected]" has unmet peer dependency "webpack@^4.36.0 || ^5.0.0".
Cleaning package.json dependencies from caniuse-lite
$ yarn remove -W caniuse-lite
warning "@nuxtjs/eslint-config > eslint-plugin-jest > @typescript-eslint/experimental-utils > @typescript-eslint/typescript-estree > [email protected]" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
warning "@nuxtjs/eslint-module > [email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
warning "@nuxtjs/stylelint-module > [email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
warning " > [email protected]" has unmet peer dependency "webpack@^4.36.0 || ^5.0.0".
caniuse-lite has been successfully updated

Target browser changes:
- and_chr 81
+ and_chr 87
- and_ff 68
+ and_ff 83
- and_qq 1.2
+ and_qq 10.4
- chrome 81
- chrome 80
+ chrome 87
+ chrome 86
+ chrome 85
- edge 81
- edge 80
- edge 18
+ edge 87
+ edge 86
- firefox 76
- firefox 75
- firefox 74
+ firefox 83
+ firefox 82
- ios_saf 13.4
- ios_saf 13.3
+ ios_saf 14.0-14.2
+ ios_saf 13.4-13.7
- op_mob 46
+ op_mob 59
- opera 68
- opera 67
+ opera 72
+ opera 71
- safari 13
+ safari 14
- samsung 11.1
- samsung 10.1
+ samsung 13.0
+ samsung 12.0

c:\work\blog\bens-blog-boilerplate (master)
λ

Please note that it makes no sense create a PR for these problems - it's the build process that needs to be updated.

Note

This discussion and this paragraph in particular provides more information about the error Delete prettier/prettier problem

adriatic avatar Dec 04 '20 20:12 adriatic