Browserslist: caniuse-lite is outdated. Please run:
ํ์ฌ ๊ฐ๋ฐ ํ๊ฒฝ
IDE : VSC(Visual studio code)
backend : ASP.net core 3.1
fronend : react
-> asp.net core์์ ์ง์ํ๋ react ํ ํ๋ฆฟ ์ฌ์ฉ
warn์ด๋ผ๊ณ ์๊ฐํ๊ณ ๋๊ฒผ๋ ๋ฉ์์ง๊ฐ ์ด๋์๊ฐ fail๋ก ์ถ๋ ฅ๋๊ธฐ ์์ํ๋ค.
fail: Microsoft.AspNetCore.SpaServices[0]
Browserslist: caniuse-lite is outdated. Please run:
๋ธ๋ผ์ฐ์ ๋ฆฌ์คํธ๋ฅผ ์ ๋ฐ์ดํธํ๋ผ๋ ๋ฉ์์ง๊ฐ ๋ ์ ๊ตฌ๊ธ๋งํ๋ฉด์ ์ฐพ์๋ดค์ง๋ง ๊ณ์ํด์ ์คํจ
์๋๋ stackoverflow์์๋ณธ ํด๊ฒฐ๋ฐฉ๋ฒ.
1. vsc์์ ํฐ๋ฏธ๋ ํ๋ ์ฐ๋ค.
2. ํฐ๋ฏธ๋์์ react๊ฐ ์ค์น๋ ํด๋๋ก ์ด๋
PS D:\src\DANP_WS> cd .\ClientApp\
3. npx browserslist@latest --update-db ์ ๋ ฅ
npx browserslist@latest --update-db
4. ์์์ ์ค์นํด์ค๋ค.
PS D:\src\DANP_WS\ClientApp> npx browserslist@latest --update-db
npx: 6๊ฐ์ ํจํค์ง๋ฅผ 3.755์ด๋ง์ ์ค์นํ์ต๋๋ค.
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Latest version: 1.0.30001219
Installed versions: 1.0.30001151, 1.0.30001219
Removing old caniuse-lite from lock file
Installing new caniuse-lite version
$ npm install caniuse-lite
caniuse-lite has been successfully updated
....
Target browser changes:
- and_chr 85
+ and_chr 90
- and_ff 79
+ and_ff 87
- android 81
+ android 90
- chrome 86
- chrome 85
- chrome 84
+ chrome 90
+ chrome 89
+ chrome 88
- edge 86
- edge 85
+ edge 90
+ edge 89
- firefox 81
- firefox 80
+ firefox 88
+ firefox 87
+ firefox 86
- ios_saf 14
+ ios_saf 14.5
+ ios_saf 14.0-14.4
- op_mob 59
+ op_mob 62
- opera 71
- opera 70
+ opera 75
+ opera 74
- safari 13.1
+ safari 14.1
- samsung 12.0
- samsung 11.1-11.2
+ samsung 14.0
+ samsung 13.0
5. ์๋น์ค ์คํ์์ ๋์ด์ ์๋ฌ๋ฉ์์ง๋ ์ถ๋ ฅ๋์ง ์์
์ฐธ๊ณ :
๋๊ธ