0

I have done manual backup of my site and setup it on local bit getting the below error:

Autoload error:

Vendor autoload is not found. Please run 'composer install' under application root directory.

Can anyone please help me to rectify this error?

8
  • 1
    try to run composer update and deployment commands.
    – Sumit
    Oct 31, 2019 at 7:31
  • 1
    Have you run composer install and composer update using cli? Oct 31, 2019 at 7:31
  • 1
    Please check your vendor directory if that is empty then run composer install once and then run deployment commands. Oct 31, 2019 at 7:32
  • I'm getting the below error when I run composer update: [ErrorException] copy(/home/monika/.composer/cache/files/zendframework/zend-session/8445ecbb 8ab9213c5b500536ff7d96ee51387b0c.zip): failed to open stream: Permission de nied
    – MagentoDev
    Oct 31, 2019 at 7:35
  • 1
    Try to run sudo composer install Oct 31, 2019 at 9:27

1 Answer 1

1

Finally, I have solved this issue by running the following commands:

sudo composer install
sudo composer update

After that the deployment commands. So, here I have added sudo with composer install and update. Thanks for all your suggestions that make me resolve this issue.

Your Answer

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

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