My questions are: Is there a way to bypass this error and make pnpm dlx work with TailwindCSS? If not, how can I manually locate the necessary binaries to run TailwindCSS?
I'm using pnpm v10.5.2 and TailwindCSS v4.0 Any help would be appreciated!
I'm trying to run TailwindCSS using pnpm dlx, but I keep getting this error: ERR_PNPM_DLX_NO_BIN No binaries found in tailwindcss. The command I used: pnpm dlx tailwindcss -i ./src/input.css -o ./dist/output.css --watch
From my understanding, pnpm dlx runs binaries from the package, but it seems like TailwindCSS doesn't expose any.
My questions are: Is there a way to bypass this error and make pnpm dlx work with TailwindCSS? If not, how can I manually locate the necessary binaries to run TailwindCSS?
I'm using pnpm v10.5.2 and TailwindCSS v4.0 Any help would be appreciated!
I'm trying to run TailwindCSS using pnpm dlx, but I keep getting this error: ERR_PNPM_DLX_NO_BIN No binaries found in tailwindcss. The command I used: pnpm dlx tailwindcss -i ./src/input.css -o ./dist/output.css --watch
From my understanding, pnpm dlx runs binaries from the package, but it seems like TailwindCSS doesn't expose any.
Share Improve this question asked Mar 8 at 17:23 Stefania DStefania D 133 bronze badges 1- Related: Problem installing TailwindCSS with Vite, after "npx tailwindcss init -p" command – rozsazoltan Commented Mar 8 at 20:15
1 Answer
Reset to default 2The CLI interface for Tailwind CSS is in a different package, @tailwindcss/cli
. Thus, your command should look like:
pnpm dlx @tailwindcss/cli -i ./src/input.css -o ./dist/output.css --watch
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744890039a4599356.html
评论列表(0条)