Problem/Motivation

I'm using 4.x-dev version of the module, in the latest D9.5 version. When updating to D10 using composer, I run into the issue:

Unable to install module simplesamlphp/simplesamlphp-assets-base, package name must be on the form "VENDOR/simplesamlphp-module-MODULENAME".

Steps to reproduce

Using core drupal/core-recommended 9.5.7, simplesamlphp_auth 4.x-dev, update with the commands in https://www.drupal.org/docs/upgrading-drupal/upgrading-from-drupal-8-or-... and get the error.

Comments

gwvoigt created an issue. See original summary.

gwvoigt’s picture

I got around this issue removing the simplesamlphp_auth module via composer, updating core to 10 and then requiring the simplesamlphp_auth module again. Closing the issue.

gwvoigt’s picture

Status: Active » Closed (works as designed)
bbombachini’s picture

I'm having the same issue, I have uninstalled simplesamlphp_auth but now I get a different error:

Uninstall of simplesamlphp/composer-module-installer failed
In PluginManager.php(274) : eval()'d code line 60:

  [Error]
  Call to protected method SimpleSAML\Composer\ModuleInstaller::getPackageBasePath() from scope Simpl
  eSAML\Composer\ModuleInstallerPlugin_composer_tmp8
linkanp’s picture

Resolved

I was having the same issue as bbombachini
I resolved the issue by removing the vendor folder and then running 'composer update'
If this helps anyone else.

dave reid’s picture

Noted in https://github.com/simplesamlphp/simplesamlphp/issues/1853 that you have to upgrade the simplesamlphp/composer-module-installer dependency first before you can upgrade simplesamlphp/simplesamlphp.

ben.hamelin’s picture

Thanks for these recent troubleshooting notes. In my case, the upgrade to simplesamlphp/composer-module-installer would not apply for some reason, so the deletion of /vendor/ after having set the new requirement on it to ^1.3 finally worked.

aaronbauman’s picture

echoing in: removing vendor directory is the only thing that worked.

manishdrupaldev’s picture

I just removed the vendor folder and then worked properly.

SatheeshGopal’s picture

After removing /Vendor folder, do we need to run "composer update"?

manishdrupaldev’s picture

@SatheeshGopal,

Yes, After removing 'vendor' folder, need to run "composer update"

muthukris’s picture

I removed the vendor folder and then ran the composer install. It works perfectly.

nil.ned’s picture

as linkanp I resolved delete vendor folder an then launch update command.