Recent Posts
Recent Comments
Archives
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 초기셋팅
- 자주 까먹는
- supabase
- vercel
- Next
- domain
- TailwindCSS
- CORS
- React
- 티스토리챌린지
- 모던자바스크립트
- 모던 자바스크립트
- deep dive
- 최적화
- 오블완
- 프로젝트 셋팅
- 프로그래머스
- useRouter
- 코드카타
- auth
- 셋팅
- 코테
- 코딩테스트
- error
- 내일배움캠프
- git
- array정적메서드
- js
- 스파르타코딩클럽
- nextjs
- Today
- Total
도록
[vite] tailwindcss v4.1 설치 오류 | Type 'Plugin<any>[]' is not assignable to type 'PluginOption' 본문
Today I Learned/in dev
[vite] tailwindcss v4.1 설치 오류 | Type 'Plugin<any>[]' is not assignable to type 'PluginOption'
떼굴펜 2025. 4. 16. 10:57문제 상황
테스트 페이지가 필요해서 셋팅하던 중, 테일윈드 공식 문서 대로 제일 최신 버전을 설치하니
vite.config.ts 파일에서 아래와 같은 오류가 발생했다.
Type 'Plugin<any>[]' is not assignable to type 'PluginOption'
해결책
: node_modules 폴더와 lock 파일(ex. pnpm-lock.yaml, package.lock.json, yarn.lock)을 둘다 삭제하고 다시 install 받으면 해결된다.
rm -rf node_modules pnpm-lock.yaml
pnpm install
출처: https://github.com/tailwindlabs/tailwindcss/discussions/17541
'Today I Learned > in dev' 카테고리의 다른 글
supabase auth에는 무슨 값이 들어있을까? (1) | 2025.05.15 |
---|---|
supabase, 정지된 프로젝트 복원하기 (0) | 2025.05.07 |
[css] content-visibility : 사용자에게 노출되는 화면부터 그리기 (0) | 2025.01.23 |
SockJs 적용하기 (React/typescript) (0) | 2024.12.23 |
매번 기억이 안나 검색하는 git tag command (0) | 2024.12.20 |