- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2018
07:41 AM
02-01-2018
07:41 AM
Работа с php bin/magento setup:static-content:deploy
Как правильно работать с setup:static-content:deploy в версиях magento 2.2.*?
Еще в версии 2.1.9, если я не ошибаюсь, проблем не были, а после обновления получаю такую ошибку:
[Magento\Framework\Exception\LocalizedException] NOTE: Manual static content deployment is not required in "default" and "developer" modes. In "default" and "developer" modes static contents are being deployed automatically on demand. If you still want to deploy in these modes, use -f option: 'bin/magento setup:static-content:deploy -f'
Как правильно вести себя в данной ситуации? Использовать с опцией --force? Или чистить папки pub/static и var/view_preprocessed ? Или переключаться в Production mode?