Skip to content

cowbell requires npx at runtime #7

Answered by akclace
gedw99 asked this question in Q&A
Discussion options

You must be logged in to vote

If the app is created with the --is_dev option, that means development mode and the Clace server tries to setup the dev environment. The cowbull app uses DaisyUI, so it uses npx tailwindcss as the watcher process, which needs npm and DaisyUI.

If the app is using tailwind, without DaisyUI, then the standalone CLI can be used. Set

[system]
tailwindcss_command = "/path/to/tailwindcss"

in clace.toml config, see https://clace.io/docs/app/styling/#tailwindcss. Unfortunately, DaisyUI cannot work with the standalone tailwind CLI, see saadeghi/daisyui#770.

If you do not set --is_dev, then the watcher is not started, it should work fine. I will fix the dev mode startup such that if the watcher fail…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@akclace
Comment options

Answer selected by akclace
@akclace
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants