- Old Version : 2.2.2
- Upgraded Version : 2.2.4
i'm getting error while run command php bin/magento setup:upgrade
Module 'Magento_Store':
Module 'Magento_Directory':
Module 'Magento_Eav':
Module 'Magento_Theme':
Module 'Magento_Customer':
Upgrading data.. Area code not set: Area code must be set before starting a session.
I have tried with php bin/magento sampledata:reset
but still not solved