cancel
Showing results for 
Search instead for 
Did you mean: 

Composer error need help

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

Composer error need help

Whenever i use composer require to install any extensions given I receive the following error:

 

Warning: require(/home/nolimi2q/public_html/vendor/composer/../../registration.php): failed to open stream: No such file or directory in /home/nolimi2q/public_html/vendor/composer/autoload_real.php online 70

Fatal error: require(): Failed opening required '/home/nolimi2q/public_html/vendor/composer/../../registration.php' (include_path='/home/nolimi2q/public_html/vendor/magento/zendframework1/library:.:/opt/alt/php72/usr/share/pear') in /home/nolimi2q/public_html/vendor/composer/autoload_real.php on line 70

 

I tried searching everywhere for a solution but no luck so far.

2 REPLIES 2

Re: Composer error need help

Hello @nolimit_nutriti 

 

Please refer https://stackoverflow.com/questions/39314556/magento-2-failed-to-open-stream-no-such-file-or-directo...

 

It can be helpful to solve the issue.

---
If you've found my answer useful, please give"Kudos" and "Accept as Solution"

Re: Composer error need help

Hi Meetanshi,

Unfortunatly this doesn't work. Isn't it missing some kind of file? it seems to happen when I install any extension, or update extensions for that matter. I've tried deleting the vendor folder and installing it using composer install, with no success.