I am running grunt exec:luma
and am getting the following errors:
Processed Area: frontend, Locale: en_GB, Theme: Magento/luma, File type: less.
>> [Zend_Db_Adapter_Exception]
>> SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
>>
>>
>> [PDOException]
>> SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
>>
>>
>>
>> dev:source-theme:deploy [--type="..."] [--locale="..."] [--area="..."] [--theme="..."] [file1] ... [fileN]
>> Exited with code: 255.
Warning: Task "exec:luma" failed. Use --force to continue.
Aborted due to warnings.
Steps I have taken are as follows:
Clean theme by command:
grunt clean
run command:
grunt exec:yourthemename
I don't have a clue why I am getting a DB error can anyone shed any light into this. DB credentials I'm just confused as to why the Grunt task would be even interacting with the DB.
My Magento 2 set up is running on an Nginx server