We switched the mode to develop, but now we want to switch back to default? How can we do that? It's not possible with commandline...
How to switch a Magento 2 store from the developer mode to production? https://mage2.pro/t/957
I know how to switch to production, but I want to switch back to default.. I can switch from default to develop to production, but not back to default.
There is no the "default" mode. There are only the "developer" and the "production" modes: http://devdocs.magento.com/guides/v2.0/config-guide/cli/config-cli-subcommands-mode.html#config-mode...
Oh, sorry, you are right!
Is the "bin/magento deploy:mode:set default" work for you?
No. Then u get the message: 'Cannot switch into given mode "default" '. I switched to develop with the same command, but back seems to be a problem.
Hi @rklerck
You can try this.(Do not try on production, after this you might have to run upgrade command)
Go to app/etc/env.php file change
'MAGE_MODE' => 'developer', with following
'MAGE_MODE' => 'default',
I think this way it should work for you.(Reply back if it works for you)
Essentially there are only two modes.. default is the shipping mode and then you select dev or prod. A feature not a bug