Questions tagged [production-mode]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
14
votes
2answers
16k views

Magento 2 error: We're sorry, an error has occurred while generating this email

I am getting below error in magento 2 local system. We're sorry, an error has occurred while generating this email.
7
votes
2answers
8k views

Magento 2 : What are difference between developer and production mode?

What are the different facility we have between developer and production mode of Magento 2.x ?
11
votes
1answer
2k views

Get Magento 2 mode programatically

What's the best way to get the current mode Magento 2 is running with code? In my case it's for a headless Magento, but I can see a number of cases where this might be required.
3
votes
1answer
3k views

Magento 2: js-translation.json 404 (Not Found) on production mode

After switching to the production mode, an error appeared in the console : pub/static/adminhtml/Magento/backend/en_US/js-translation.json 404 (Not Found) pub/static/adminhtml/Magento/backend/en_US/js-...
1
vote
3answers
980 views

Production mode is not working

Changing site to production mode display below error on command terminal in (red color): Enabled maintenance mode Starting compilation Compilation was started. ..... ..... Generated code and ...
0
votes
0answers
53 views

Magento2 - Vue StoreFront How to set production mode?

I have implemented the vue storefront theme using the Magento 2 Vue Storefront error can't start docker in background references. I have implemented the vue storefront Manually. How to set the ...