timonweb / django-tailwind

Django + Tailwind CSS = 💚
https://django-tailwind.readthedocs.io
MIT License
1.47k stars 92 forks source link

py manage.py tailwind start error #12

Closed Jordan-Rob closed 4 years ago

Jordan-Rob commented 4 years ago

im having issues starting tailwind when i run the py manage.py tailwind start command i get the following error

django_tailwind@ start E:\projects\1stDjangoApp\ToDoList\theme\static_src watch 'npm run build-postcss' ./src

Watching run Watching build-postcss' Watching ./src E:\projects\1stDjangoApp\ToDoList\theme\static_src\node_modules\watch\main.js:73 if (err) throw err; ^

Error: ENOENT: no such file or directory, stat 'E:\projects\1stDjangoApp\ToDoList\theme\static_src\run' npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! django_tailwind@ start: watch 'npm run build-postcss' ./src npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the django_tailwind@ start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Dell\AppData\Roaming\npm-cache_logs\2020-02-03T08_52_21_435Z-debug.log

Jordan-Rob commented 4 years ago

Found a fix within ./theme/static_src/package.json "start": "watch \"npm run build-postcss\" ./src"