J
J
jazzus2019-03-09 08:49:31
Laravel
jazzus, 2019-03-09 08:49:31

Do I need to uninstall Vendor to upgrade Laravel?

I read that you need to delete Vendor before updating
. On localhost, deleted Vendor, updated it.
In production, as a result of the deployment, everything was installed by itself. At first glance, there are no errors, I do not feel the difference.
Do I need to uninstall Vendor and re-install composer just like I did on localhost to be sure? The Internet says what you need . + flush caches, etc. But now the version on the server is 5.8 and the main functions work.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kirill Arutyunov, 2019-03-09
@jazzus

You don't need to delete the folder, it updates itself. Sometimes there are jambs with packages due to the cache, for example. Especially if you installed one version of the package, it didn't fit and you are trying to install another one. Sometimes it happens that when composer install or composer update some strange errors fly out. The first thing to try is rm -rf vendor and run composer update again.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question