0

When I do the this php bin/magento setup:static-content:deploy it gives me error of

[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'

and my website will be in death white screen can you please help me how I'm gonna fix this thank you

1 Answer 1

3

Try below command it will deploy your content

php bin/magento set up:static-content:deploy -f

as per Magento 2's documentation

Default and developer modes: Magento generates them on demand, but the rest are cached in a file for speed of access.

From Magento 2.2 Manual static content deploy is not required. But you may still do that with -f option.

Source

3
  • Thank you for the information. Because I installed aramex modules for my shipping method they Gave me steps to deploy it so even I will not run the php bin/magento setup:static-content:deploy the aramex module will be running properly? thank you.
    – kd_mj0312
    Commented Nov 9, 2017 at 7:50
  • Please disable the extension then try it again
    – Amit Bera
    Commented Nov 9, 2017 at 7:57
  • @kd_mj0312 If your magento 2 store is in the development mode then you don't need to deploy content. Your module should work fine. If there is no error in module. Commented Nov 9, 2017 at 9:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.