cancel
Showing results for 
Search instead for 
Did you mean: 

The requested package could not be found in any version

SOLVED

The requested package could not be found in any version

Hi,

 

I have an error in composer when I want to install any new extension.

It seems that "Raveinfosys_Deleteorder" extension is the problem, but I deleted files form FTP and this extension is not in list of modules when I execute "php bin/magento module:status" command.

 

I share you the error:

server@nlss9 [~/public_html/sadanates]# composer require magepal/magento2-gmailsmtpapp
Using version ^2.5 for magepal/magento2-gmailsmtpapp
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested package raveinfosys/raveinfosys_deleteorder could not be found in any version, there may be a typo in the package name.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

Installation failed, reverting ./composer.json to its original content.

Could you help me?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: The requested package could not be found in any version

Hello @webiseny

 

Delete the Raveinfosys_Deleteorder extension entry from a setup_module table in the database.

 

If you installed this extension from the composer, then you to delete that module's entry from the composer.json file located at Magento root folder.

 

After deleting the entry from the composer.json file, run following commands one by one.

 

composer update

php bin/magento setup:upgrade

php -dmemory_limit=2G bin/magento setup:static-content:deploy -f
If you find my answer useful, Please click Kudos & Accept as Solution.

View solution in original post

3 REPLIES 3

Re: The requested package could not be found in any version

Hi @webiseny

 

If you have installed this extension using composer - then it is installed in the Vendor/Magento directory instead of app/code directory

 

So kindly check in vendor/magento directory whether extension is there or not ?

 

Also if you would like to installed it manually - then i would suggest you to put into the app/code directory and then run all the commands 

 

it will works - ~!

if issue solved,Click Kudos & Accept as Solution

Re: The requested package could not be found in any version

Hello @webiseny

 

Delete the Raveinfosys_Deleteorder extension entry from a setup_module table in the database.

 

If you installed this extension from the composer, then you to delete that module's entry from the composer.json file located at Magento root folder.

 

After deleting the entry from the composer.json file, run following commands one by one.

 

composer update

php bin/magento setup:upgrade

php -dmemory_limit=2G bin/magento setup:static-content:deploy -f
If you find my answer useful, Please click Kudos & Accept as Solution.

Re: The requested package could not be found in any version

Thanks @Mayur Bhuva!! Your suggestions has worked for me. Smiley Happy