Skip to content

Uncaught TypeError: Argument 3 passed to Composer\Downloader\DownloadManager - Composer 2.0.7Β #288

@PitBult

Description

@PitBult

Composer 2.0.7 - Error

PHP Fatal error: Uncaught TypeError: Argument 3 passed to Composer\Downloader\DownloadManager::download() must implement interface Composer\Package\PackageInterface or be null, bool given, called in /vendor/jakoch/phantomjs-installer/src/PhantomInstaller/Installer.php

PhantomInstaller\Installer::installPhantomJS
PHP Fatal error:  Uncaught TypeError: Argument 3 passed to Composer\Downloader\DownloadManager::download() must implement interface Composer\Package\PackageInterface or be null, bool given, called in /vendor/jakoch/phantomjs-installer/src/PhantomInstaller/Installer.php on line 192 and defined in phar:///usr/local/bin/composer/src/Composer/Downloader/DownloadManager.php:182
Stack trace:
#0 /vendor/jakoch/phantomjs-installer/src/PhantomInstaller/Installer.php(192): Composer\Downloader\DownloadManager->download()
#1 /vendor/jakoch/phantomjs-installer/src/PhantomInstaller/Installer.php(121): PhantomInstaller\Installer->download()
#2 /vendor/jakoch/phantomjs-installer/src/PhantomInstaller/Installer.php(94): PhantomInstaller\Installer->__invoke()
#3 phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php(323): PhantomInstaller\Installer::installPhantomJS()
#4  in phar:///usr/local/bin/composer/src/Composer/Downloader/DownloadManager.php on line 182


Fatal error: Uncaught TypeError: Argument 3 passed to Composer\Downloader\DownloadManager::download() must implement interface Composer\Package\PackageInterface or be null, bool given, called in /vendor/jakoch/phantomjs-installer/src/PhantomInstaller/Installer.php on line 192 and defined in phar:///usr/local/bin/composer/src/Composer/Downloader/DownloadManager.php:182
Stack trace:
#0 /vendor/jakoch/phantomjs-installer/src/PhantomInstaller/Installer.php(192): Composer\Downloader\DownloadManager->download()
#1 /vendor/jakoch/phantomjs-installer/src/PhantomInstaller/Installer.php(121): PhantomInstaller\Installer->download()
#2 /vendor/jakoch/phantomjs-installer/src/PhantomInstaller/Installer.php(94): PhantomInstaller\Installer->__invoke()
#3 phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php(323): PhantomInstaller\Installer::installPhantomJS()
#4  in phar:///usr/local/bin/composer/src/Composer/Downloader/DownloadManager.php on line 182

Composer 1.10.17 - OK

PhantomInstaller\Installer::installPhantomJS
  - Installing phantomjs (2.1.1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions