最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

reactjs - Is there a way to bypass this error and make pnpm dlx work with TailwindCSS? - Stack Overflow

programmeradmin3浏览0评论

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
Add a comment  | 

1 Answer 1

Reset to default 2

The 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
发布评论

评论列表(0)

  1. 暂无评论