tailwindcss Permission Denied

I am using node v 18.18.1 (npm v 9.8.1)

When I run:

npx tailwindcss -i ./src/input.css -o ./public/css/output.css --watch

Occur the error:

sh: 1: tailwindcss: Permission denied

How to fix:

npm rebuild

Metadata

Status :: #🌲

Note Type :: #📩/📰

Source URL :: node.js - sh: 1: tailwindcss: Permission denied // error on build process Tailwindcss CLI - Stack Overflownode.js - sh: 1: cross-env: Permission denied on laravel mix - Stack Overflow

Author :: {作者名稱}

Topics :: {筆記跟什麼主題有關,用[Topic],[Topic] 格式子}

To Me :: #mind

Parent Link :: {可以連結到哪個父筆記}

Sibling Link :: {可以連結到哪個相關筆記}

Child Link :: {可以連結到哪個子筆記}