728x90
반응형
❌ 문제 상황
기존의 만들어놓은 프로젝트를 기술 스택 바꿔서 다시 만들어보려고 해서 tailwind 세팅하는 과정에서
이전에 했던 방식대로 했는데 이상하게 설치가 제대로 안되는 문제가 있었다
도대체 왜...?
npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p
계속 이런 에러가 떴다.
npm ERR! could not determine executable to run
npm ERR! A complete log of this run can be found in:
💡해결방법
From the reactjs community on Reddit
Explore this post and more from the reactjs community
www.reddit.com
레딧에 누군가 똑같은 에러를 올렸고 tailwindcss가 버전 4.0이 되면서 tailwind-intellisence랑 맞지 않아서 그렇다고 한다.
해결 방법은 이 명령어로 설치하면 된다
npm install -D tailwindcss@3.4.17 postcss autoprefixer
npx tailwindcss init -p
728x90
반응형