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

Popular posts from this blog

Laravel Sail on Windows issue - "cmdlet Invoke-WebRequest at command pipeline position 1"

Laravel 10 - Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes (Connection: mysql, SQL: alter table `users` add unique `users_email_unique`(`email`))