cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.3 : After migration missing most of the files from vendor/magento/ folder

Magento 2.3 : After migration missing most of the files from vendor/magento/ folder

Most of the files missing after migration, how to update vendor/magento folder.

6 REPLIES 6

Re: Magento 2.3 : After migration missing most of the files from vendor/magento/ folder

Hi @Aveeva ,

 

Please run this command from root directory of project:

composer install

if it doesn't help, get composer.json file from your desired version Magento and replace it with your docroot composer.json and again run above command.

Hope it helps.

 

Problem Solved ? Click on 'Kudos' & Accept as Solution to encourage to write more answers !

Re: Magento 2.3 : After migration missing most of the files from vendor/magento/ folder

Hi @Aveeva ,

 

Try below steps:

1. Rename vendor folder to some other name example : vendor_old

2. Replace composer.json with your desired magento version composer.json in root

3. Run composer update command

 

Hope this helps you!

Problem Solved! Click Kudos & Accept as Solution!

Re: Magento 2.3 : After migration missing most of the files from vendor/magento/ folder

@Nishu Jindal @gaurav_harsh1  After rename vendor to vendor_old then run composer update getting following warning,

 

few commands run successfully, then following 

 

Package container-interop/container-interop is abandoned, you should avoid using                                                                                         it. Use psr/container instead.
Package zendframework/zend-stdlib is abandoned, you should avoid using it. Use l                                                                                        aminas/laminas-stdlib instead.
Package zendframework/zend-validator is abandoned, you should avoid using it. Us                                                                                        e laminas/laminas-validator instead.
Package zendframework/zend-escaper is abandoned, you should avoid using it. Use                                                                                         laminas/laminas-escaper instead.
Package zendframework/zend-uri is abandoned, you should avoid using it. Use lami                                                                                        nas/laminas-uri instead.
Package zendframework/zend-loader is abandoned, you should avoid using it. Use l                                                                                        aminas/laminas-loader instead.
Package zendframework/zend-http is abandoned, you should avoid using it. Use lam                                                                                        inas/laminas-http instead.
Package zendframework/zend-math is abandoned, you should avoid using it. Use lam                                                                                        inas/laminas-math instead.
Package zendframework/zend-crypt is abandoned, you should avoid using it. Use la                                                                                        minas/laminas-crypt instead.
Package zendframework/zend-eventmanager is abandoned, you should avoid using it.                                                                                         Use laminas/laminas-eventmanager instead.
Package zendframework/zend-code is abandoned, you should avoid using it. Use lam                                                                                        inas/laminas-code instead.
Package zendframework/zend-diactoros is abandoned, you should avoid using it. Us                                                                                        e laminas/laminas-diactoros instead.
Package zendframework/zend-psr7bridge is abandoned, you should avoid using it. U                                                                                        se laminas/laminas-psr7bridge instead.
Package zendframework/zend-hydrator is abandoned, you should avoid using it. Use                                                                                         laminas/laminas-hydrator instead.
Package zendframework/zend-servicemanager is abandoned, you should avoid using i                                                                                        t. Use laminas/laminas-servicemanager instead.
Package zendframework/zend-filter is abandoned, you should avoid using it. Use l                                                                                        aminas/laminas-filter instead.
Package zendframework/zend-inputfilter is abandoned, you should avoid using it.                                                                                         Use laminas/laminas-inputfilter instead.
Package zendframework/zend-form is abandoned, you should avoid using it. Use lam                                                                                        inas/laminas-form instead.
Package zendframework/zend-console is abandoned, you should avoid using it. Use                                                                                         laminas/laminas-console instead.
Package zendframework/zend-mvc is abandoned, you should avoid using it. Use lami                                                                                        nas/laminas-mvc instead.
Package zendframework/zend-session is abandoned, you should avoid using it. Use                                                                                         laminas/laminas-session instead.
Package zendframework/zend-captcha is abandoned, you should avoid using it. Use                                                                                         laminas/laminas-captcha instead.
Package zendframework/zend-db is abandoned, you should avoid using it. Use lamin                                                                                        as/laminas-db instead.
Package zendframework/zend-di is abandoned, you should avoid using it. Use lamin                                                                                        as/laminas-di instead.
Package zendframework/zend-mime is abandoned, you should avoid using it. Use lam                                                                                        inas/laminas-mime instead.
Package zendframework/zend-mail is abandoned, you should avoid using it. Use lam                                                                                        inas/laminas-mail instead.
Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No                                                                                         replacement was suggested.
Package facebook/webdriver is abandoned, you should avoid using it. Use php-webd                                                                                        river/webdriver instead.
Package guzzlehttp/streams is abandoned, you should avoid using it. No replaceme                                                                                        nt was suggested.
Package guzzlehttp/ringphp is abandoned, you should avoid using it. No replaceme                                                                                        nt was suggested.
Package zendframework/zend-feed is abandoned, you should avoid using it. Use lam                                                                                        inas/laminas-feed instead.
Package zendframework/zend-i18n is abandoned, you should avoid using it. Use lam                                                                                        inas/laminas-i18n instead.
Package zendframework/zend-log is abandoned, you should avoid using it. Use lami                                                                                        nas/laminas-log instead.
Package zendframework/zend-config is abandoned, you should avoid using it. Use l                                                                                        aminas/laminas-config instead.
Package zendframework/zend-modulemanager is abandoned, you should avoid using it                                                                                        . Use laminas/laminas-modulemanager instead.
Package zendframework/zend-json is abandoned, you should avoid using it. Use lam                                                                                        inas/laminas-json instead.
Package zendframework/zend-serializer is abandoned, you should avoid using it. U                                                                                        se laminas/laminas-serializer instead.
Package zendframework/zend-server is abandoned, you should avoid using it. Use l                                                                                        aminas/laminas-server instead.
Package zendframework/zend-soap is abandoned, you should avoid using it. Use lam                                                                                        inas/laminas-soap instead.
Package zendframework/zend-text is abandoned, you should avoid using it. Use lam                                                                                        inas/laminas-text instead.
Package zendframework/zend-view is abandoned, you should avoid using it. Use lam                                                                                        inas/laminas-view instead.
Generating autoload files
38 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
PHP CodeSniffer Config installed_paths set to ../../../vendor_old/elasticsearch,                                                                                        ../../../vendor_old/codeception,../../codeception,../../elasticsearch,../../mage                                                                                        nto/magento-coding-standard,../../phpcompatibility/php-compatibility
[root@centos-4cpu-8gb-uk-lon1 test]#

after check vendor/magento folder same files available not added extra files, my vendor/magento folder screenshot https://snipboard.io/P96OFD.jpg

 

I have an issue in my Eway payment gateway, to look more details of the error not able o access a particular file. file-path vendor/magento/module-checkout/Model/PaymentInformationManagement.php

source : https://magento.stackexchange.com/a/301501/57334

 

Note : @gaurav_harsh1 I tried composer install cmd also.

 

How to access my vendor/magento/module-checkout/Model/PaymentInformationManagement.php

Re: Magento 2.3 : After migration missing most of the files from vendor/magento/ folder

@Aveeva 

 

Please make sure you download Magento project by DevDocs Tutorial , vendor folders are missing in case if we download Magento from github where People contribute to core Magento issues, check app/code folder if it has all issues.

 

if there are still missing modules, what error throws on frontend ? check log files.

 

If still facing problem, Create a new project by :

 

composer create-project --repository=https://repo.magento.com/ magento/project-community-edition magento2 

 

 

Problem Solved ? Click on 'Kudos' & Accept as Solution to encourage to write more answers !

Re: Magento 2.3 : After migration missing most of the files from vendor/magento/ folder

Re: Magento 2.3 : After migration missing most of the files from vendor/magento/ folder

@Aveeva 

 

Here it clearly says that for core-contribution download from github (last column), the most preferable is via composer.

Magento Open Source :

 composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition <install-directory-name>

Magento Commerce :

 composer create-project --repository-url=https://repo.magento.com/ magento/project-enterprise-edition <install-directory-name>
Problem Solved ? Click on 'Kudos' & Accept as Solution to encourage to write more answers !