MicroPyramid / Django-CRM

Open Source CRM based on Django
https://bottlecrm.io
MIT License
1.93k stars 881 forks source link

sass' is not recognized as an internal or external command, operable program or batch file. #410

Open guru2582 opened 3 years ago

guru2582 commented 3 years ago

getting this error while trying to load home page. already installed all the requirements. not sure what is the issue.

Environment:

Request Method: GET Request URL: http://localhost:8000/

Django Version: 3.0.8 Python Version: 3.8.5 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.sessions', 'django.contrib.staticfiles', 'simple_pagination', 'compressor', 'common', 'accounts', 'cases', 'contacts', 'emails', 'leads', 'opportunity', 'planner', 'sorl.thumbnail', 'phonenumber_field', 'storages', 'marketing', 'tasks', 'invoices', 'events', 'teams'] Installed Middleware: ['django.middleware.security.SecurityMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'common.middleware.get_company.GetCompany']

Template error: In template D:\Stuff\DjangoApps\dev\Django-CRM-master\templates\base.html, error at line 16 'sass' is not recognized as an internal or external command, operable program or batch file.

6 : 7 : 8 : 9 : 10 : 11 : {{APPLICATION_NAME}} 12 : 13 : 14 : 15 : 16 : {% compress css %} 17 : 18 : 19 : {% endcompress %} 20 : {% block extralinks %} {% endblock %} 21 : 22 : 23 :

24 : 25 :
26 :
b1nslashsh commented 3 years ago

have you installed sass ??

sudo gem install sass??

guru2582 commented 3 years ago

I am trying on windows PC , finally got it working but its not working in python virtual environment.

jollypolly123 commented 3 years ago

Hi, don't know if you still need help on this but try npm install -g sass to install it globally