일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- components
- react
- vscode
- vue-cli-service
- axios
- number
- 이미지
- Package
- TradingVIew
- JavaScript
- Download
- error
- Chart
- 리액트
- NeXT
- VUE
- type
- 상태관리
- 프론트엔드
- antd
- develop
- FRONT
- frontend
- err
- 시멘틱태그
- npm
- form
- useState
- CSS
- 리액트기초
Archives
- Today
- Total
개발쬬
[ERR 오류해결] @eslint/eslintrc@1.2.2: The engine "node" is incompatible with this module. Expected version "^12.22.0 || ^14.17.0 || >=16.0.0". Got "14.15.5" 본문
쬬는 개발중
[ERR 오류해결] @eslint/eslintrc@1.2.2: The engine "node" is incompatible with this module. Expected version "^12.22.0 || ^14.17.0 || >=16.0.0". Got "14.15.5"
Joooooooo 2023. 7. 31. 13:05반응형
1. 버전오류 발견
전에 없던 오류인데 갑자기 떠서 검색해보니 구선생님도 모른다는 소식에 좌절하고 있었다 ㅠㅠ
심지어 설치파일에는 next 에 당연히 들어있어야하는 pages폴더도 없고.. 아무것도 존재하지 않은 상태..!
분명 버전문제같아 찾아봤는데 도무지 모르겠어서 이것저것 검색하던 중 해결점을 찾았다!
Installing devDependencies:
- eslint
- eslint-config-next
yarn add v1.22.18
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
error @eslint/eslintrc@1.2.2: The engine "node" is incompatible with this module. Expected version "^12.22.0 || ^14.17.0 || >=16.0.0". Got "14.15.5"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
Aborting installation.
yarn add --exact --cwd /Users/whdms3368/Desktop/nextjs-blog/my-app --dev eslint eslint-config-next has failed.
2. 최신 업데이트 실행하기
처음엔 yarn부분에 문제가 있는줄 알았는데 ㅠㅠ node를 최신 업데이트 해주면 되는 아주 간단한 문제였다
나같은 초보에겐 버전관리 너무 어려움...
sudo npm cache clean -f
sudo npm install -g n
sudo n stable
2. 결과적으로 성공
반응형
'쬬는 개발중' 카테고리의 다른 글
open API : MusicList 무료 api , last.fm api 사용하기 (0) | 2023.08.03 |
---|---|
Vue : npm run serve 오류 vue-cli-service: command not found (0) | 2023.08.03 |
[tradingView] 차트 그리기 도구 로컬에 저장해서 불러오기 / save() / load() (0) | 2023.07.24 |
[chart] trading view 차트 활용하기 / 예제 / next / 권한 (2) | 2023.07.19 |
[Mantine] client.js:1 Warning: Each child in a list should have a unique "key" prop (0) | 2023.07.12 |