Magento 2 : Less variable issue
If you get variable issue when running
grunt exec:themename
or
when deploying theme using
php bin/magento setup:static-content:deploy
First delete var/*
Then run following commands
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
If doesn't solve your problem check your parent theme name in your theme.xml. If it is not luma then change back to luma and run following commands again.
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
Comments