0

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

enter image description here

1 Answer 1

0

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

  1. Open Xampp control panel
  2. Click on the Shell button
  3. Now you have to move on Magento2 root folder so same you can type the following command

cd C:\xampp\htdocs\Magento2folder

Now you are on your Magento2 root folder

Now type the following command

php bin\magento indexer:reindex

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.