- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2021
07:14 AM
03-31-2021
07:14 AM
Switching to developer mode not working in M2
Good day everyone, We have recently migrated our site from one server to another server and configured Varnish and Redis. Now when I try to switch my Magento mode from default to the developer using
bin/magento deploy:mode:set developer
my layout is completely broken. Any help is highly appreciated.
What I have tried:
deployed static content, cleared Redis cache, turned CSS and js bundling/merging off, flushed Magento cache as well.
Labels:
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2021
12:11 AM
04-01-2021
12:11 AM
Re: Switching to developer mode not working in M2
Hello @pmcshivamg8dc1
Try to switch mode using this method:
In the app/etc/env.php, change the current mode
MAGE_MODE' => 'default'to MAGE_MODE' => 'developer'
I hope it helps.
Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.
200+ Magento 2 Extensions for Enhanced Shopping Experience.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2021
04:15 AM
04-22-2021
04:15 AM
Re: Switching to developer mode not working in M2
I was away with some other project. Thank you so much for the help