-
caniuse-lite is outdated.리액트 - ReactJS/오류 2022. 12. 21. 11:08
상황 : mongodb backend 운영하던 페이지 업데이트를 위하여 종료 후 작업
서버 재시작시 발생
작동은 정상적으로 하지만 알림으로 발생함.
$ babel-node index.js Browserslist: caniuse-lite is outdated. Please run: npx browserslist@latest --update-db Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating 🚀 DB Server ready at http://localhost:4000/graphql
원인: 브라우저가 업데이트되며 최신화가 필요하다는 알림
해결방안 :
문서 내용에 적혀 있는대로 터미널에 입력
npx browserslist@latest --update-db
Latest version: 1.0.30001439 Installed version: 1.0.30001358 Removing old caniuse-lite from lock file Installing new caniuse-lite version $ yarn add -W caniuse-lite Cleaning package.json dependencies from caniuse-lite $ yarn remove -W caniuse-lite caniuse-lite has been successfully updated No target browser changes
업데이트 완료됨
앞으로 발생할 때도 재시작함.
'리액트 - ReactJS > 오류' 카테고리의 다른 글
Nested block is redundant (0) 2022.12.01 React Hook useEffect has missing dependencies (0) 2022.12.01 gyp ERR! not ok (0) 2022.11.11 Unexpected token, expected "jsxTagEnd" (0) 2022.10.01 Module not found: Error: Can't resolve 'fs' in dotenv (0) 2022.10.01