When I add a repository of type: path to composer.json in root of installation, composer successfully installs the package from the url specified but bin/magento throws the above mentioned error during it's readiness check.
Command line stacktrace:
We're sorry, an error occurred. Try clearing the cache and code generation directories. By default, they are: var/cache, var/di, var/generation, and var/page_cache.
[Zend\ServiceManager\Exception\ServiceNotCreatedException]
An abstract factory could not create an instance of magentosetupconsolecommandcronruncommand(alias: Magento\Setup\C
onsole\Command\CronRunCommand).
[Zend\ServiceManager\Exception\ServiceNotCreatedException]
An exception was raised while creating "Magento\Setup\Console\Command\CronRunCommand"; no instance returned
[Zend\Di\Exception\MissingPropertyException]
Missing instance/object for parameter readinessCheck for Magento\Setup\Console\Command\CronRunCommand::__construct
[Zend\ServiceManager\Exception\ServiceNotCreatedException]
An abstract factory could not create an instance of magentosetupmodelcronreadinesscheck(alias: Magento\Setup\Model\
Cron\ReadinessCheck).
[Zend\ServiceManager\Exception\ServiceNotCreatedException]
An exception was raised while creating "Magento\Setup\Model\Cron\ReadinessCheck"; no instance returned
[Zend\Di\Exception\MissingPropertyException]
Missing instance/object for parameter phpReadinessCheck for Magento\Setup\Model\Cron\ReadinessCheck::__construct
[Zend\ServiceManager\Exception\ServiceNotCreatedException]
An abstract factory could not create an instance of magentosetupmodelphpreadinesscheck(alias: Magento\Setup\Model\P
hpReadinessCheck).
[Zend\ServiceManager\Exception\ServiceNotCreatedException]
An exception was raised while creating "Magento\Setup\Model\PhpReadinessCheck"; no instance returned
[Zend\Di\Exception\MissingPropertyException]
Missing instance/object for parameter composerInformation for Magento\Setup\Model\PhpReadinessCheck::__construct
[Zend\ServiceManager\Exception\ServiceNotCreatedException]
An abstract factory could not create an instance of magentoframeworkcomposercomposerinformation(alias: Magento\Fram
ework\Composer\ComposerInformation).
[Zend\ServiceManager\Exception\ServiceNotCreatedException]
An exception was raised while creating "Magento\Framework\Composer\ComposerInformation"; no instance returned
[InvalidArgumentException]
Repository type is not registered: path
When I add a repository of
type: pathtocomposer.jsonin root of installation, composer successfully installs the package from theurlspecified butbin/magentothrows the above mentioned error during it's readiness check.Command line stacktrace: