Forums

django-tailwind - Unknown Command: tailwind

I've just deployed a new project with Django (python 3.8) After setting up the framework I installed Django-tailwind which worked just fine, I followed along with the official Docs, I added tailwind to my installed apps, collected static, and reloaded the web app, then typed the command "python manage.py tailwind init theme" within the projects virtual env and got the return "Unknown Command: 'tailwind'" I've verified everything I can but still no solution.

Check this section of the docs: https://django-tailwind.readthedocs.io/en/latest/installation.html#configuration-of-the-path-to-the-npm-executable. If you need to install node -- check this help page: https://help.pythonanywhere.com/pages/Node/.