-
[Next.js 13] ESLint: TypeError: this.libOptions.parse is not a function 해결법개발 여정/FrontEnd 2023. 8. 2. 11:56
ESLint: TypeError: this.libOptions.parse is not a function
WebStorm에 있는 프로젝트를 Next.js 13으로 업데이트하고 저게 자꾸 떴다.
버전을 ESLint 8.22로 낮추면 된다길래
8.22 새로 설치하고, (npm install eslint@8.22.0 --save-exact )
node_modules, package-lock.json 파일도 지우고 새로 pnpm 설치했으나 (rm -rf node_modules; rm package-lock.json; npm install)
계속 안됐다.. ㅡㅡ
그런데 강같은 댓글 발견..

https://stackoverflow.com/questions/73509984/eslint-typeerror-this-liboptions-parse-is-not-a-function 세팅 들어가서 Automatic ESLint configuration으로 바꾸고
{**/*,*}.{js,ts,jsx,tsx} -> "**/*.(js|ts|jsx|tsx|html|vue)" 으로 바꾸기..

이렇게 했더니 저 문구가 드디어 사라졌다..ㅠㅠ!!
'개발 여정 > FrontEnd' 카테고리의 다른 글
Framer Motion에서 event.currentTarget 사용 시 null이 되는 이유 (0) 2025.04.15 Framer Motion에서 whileInView + hover 충돌 해결하기 (0) 2025.04.09 [Next.js] Hydration이란? (0) 2023.07.01 [React] setInterval을 통해 React Hooks 알아보기 (useEffect, useState, useRef) (0) 2023.05.26 [Next.js] router / a / Link 의 차이 (1) 2023.05.19