- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Error in Magento 2.3.2
I run this command: composer install --no-dev
and the message below keeps displaying. I've tried everything I know of and was wondering if someone else has seen this and knows how to resolve it.
Fatal error: Uncaught TypeError: Return value of Magento\InventoryComposerInstaller\Plugin::initModuleDeployment() must be an instance of Magento\InventoryComposerInstaller\void, none returned in /home/lcedxzmy/public_html/hsfprd1_wachirawines/vendor/magento/inventory-composer-installer/src/Plugin.php:69
Stack trace:
#0 [internal function]: Magento\InventoryComposerInstaller\Plugin->initModuleDeployment(Object(Composer\Script\Event))
#1 phar:///opt/cpanel/composer/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php(176): call_user_func(Array, Object(Composer\Script\Event))
#2 phar:///opt/cpanel/composer/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php(96): Composer\EventDispatcher\EventDispatcher->doDispatch(Object(Composer\Script\Event))
#3 phar:///opt/cpanel/composer/bin/composer/src/Composer/Installer.php(204): Composer\EventDispatcher\EventDispatcher->dispatchScript('pre-install-cmd', false)
#4 phar:///opt/cpanel/composer/bin/composer/src/Composer/Command/InstallCommand.php(121): Composer\Instal in /home/lcedxzmy/public_html/hsfprd1_wachirawines/vendor/magento/inventory-composer-installer/src/Plugin.php on line 69
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Error in Magento 2.3.2
Run the below command w/o plugins updates it will work for you:
$ composer update --no-plugins --no-dev "magento-hackathon/magento-composer-installer"
OR
It can be an issue of PHP versions. I will recommend you to check your HTTP requests and Commande line PHP version.
You need to use same PHP version for both.
OR
Clear composer cache and the update composer.
composer clearcache
composer update
OR
Remove the vendor directory and the composer.lock and do a fresh install.
Thanks
--
If my answer is useful, please Accept as Solution & give Kudos