Remov django-node-assets from settings, add sudo request in npm install -g npx
This commit is contained in:
parent
8b70827f07
commit
edd32094c0
@ -71,7 +71,7 @@ cd static/main/js/control_page
|
||||
3. Выполнить установку модулей для js
|
||||
```bash
|
||||
npm install
|
||||
npm -g install npx
|
||||
sudo npm -g install npx
|
||||
npx webpack
|
||||
```
|
||||
4. Тестирование в той же папке
|
||||
|
@ -41,7 +41,6 @@ INSTALLED_APPS = [
|
||||
'django.contrib.staticfiles',
|
||||
'django_registration',
|
||||
'rest_framework',
|
||||
'django_node_assets',
|
||||
'main',
|
||||
]
|
||||
|
||||
@ -138,7 +137,6 @@ STATICFILES_DIRS = [
|
||||
STATICFILES_FINDERS = [
|
||||
'django.contrib.staticfiles.finders.FileSystemFinder',
|
||||
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
|
||||
'django_node_assets.finders.NodeModulesFinder',
|
||||
]
|
||||
|
||||
ACCOUNT_ACTIVATION_DAYS = 7
|
||||
|
Loading…
x
Reference in New Issue
Block a user