How to solve this Magento 2.3.6 error?
I have installed it on the XAMPP server
winpty: error: cannot start 'D:/xampp/php/php.exe bin/magento indexer:reindex': internal error: agent timed out
Please use the below process to reindex from the command line.
At first please check which drive you have installed XAMPP. (Ex. C:). So if you have XAMPP installed in drive C:
go to the command line (CMD) - type -
cd
Now you will go to root drive C:
Now you have to go over on Magento2 root folder so you can use the below command
cd C:\xampp\htdocs\Magento2folder
Now you are on your Magento2 root folder
Now type the following command
php bin\magento indexer:reindex
One other method you can follow like this
cd C:\xampp\htdocs\Magento2folder
Now you are on your Magento2 root folder
Now type the following command
php bin\magento indexer:reindex