mysterious-spring-57104
06/09/2021, 9:27 AMFatal error: Uncaught TypeError: Argument 3 passed to Composer\Downloader\DownloadManager::download() must implement interface Composer\Package\PackageInterface or be null, bool given, called in /data/vendor/jakoch/phantomjs-installer/src/PhantomInstaller/Installer.php on line 190 and defined in phar:///usr/bin/composer/src/Composer/Downloader/DownloadManager.php:182
I tried to setup the whole project again locally but I keep running into the same error. I used the following commands:
docker/sdk clean
docker/sdk boot deploy.dev.yml
docker/sdk upaverage-branch-45579
06/09/2021, 9:31 AMaverage-branch-45579
06/09/2021, 9:32 AMcomposer require jakoch/phantomjs-installer:^3.0 -W --ignore-platform-reqs --no-scriptsmysterious-spring-57104
06/09/2021, 9:52 AMdocker/sdk cli composer require jakoch/phantomjs-installer:^3.0 -W --ignore-platform-reqs --no-scripts
and
docker/sdk up --build --data
but I still got the same error message. Do I have to run docker/sdk clean or reset?average-branch-45579
06/09/2021, 9:58 AMmysterious-spring-57104
06/09/2021, 10:30 AMmysterious-spring-57104
06/09/2021, 10:32 AMPhantomInstaller\Installer::installPhantomJS
Error relocating /data/vendor/bin/phantomjs: __strdup: symbol not found
Error relocating /data/vendor/bin/phantomjs: backtrace: symbol not found
Error relocating /data/vendor/bin/phantomjs: backtrace_symbols: symbol not found
Error relocating /data/vendor/bin/phantomjs: __rawmemchr: symbol not found
Caught exception while checking PhantomJS version:
Undefined offset: 0
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 /data/vendor/jakoch/phantomjs-installer/src/PhantomInstaller/Installer.php on line 190 and defined in phar:///usr/bin/composer/src/Composer/Downloader/DownloadManager.php:182
Stack trace:
#0 /data/vendor/jakoch/phantomjs-installer/src/PhantomInstaller/Installer.php(190): Composer\Downloader\DownloadManager->download(Object(Composer\Package\Package), '/data/vendor/ja...', false)
#1 /data/vendor/jakoch/phantomjs-installer/src/PhantomInstaller/Installer.php(119): PhantomInstaller\Installer->download('/data/vendor/ja...', '3.0.0')
#2 /data/vendor/jakoch/phantomjs-installer/src/PhantomInstaller/Installer.php(92): PhantomInstaller\Installer->__invoke()
#3 phar:///usr/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php(341): PhantomInstaller\Installer::installPhantomJS(Object(Composer\Script\Event))
#4 phar:///usr/bin/composer/ in phar:///usr/bin/composer/src/Composer/Downloader/DownloadManager.php on line 182average-branch-45579
06/09/2021, 10:33 AMcomposer why-not this package with this version?average-branch-45579
06/09/2021, 10:36 AMmysterious-spring-57104
06/09/2021, 10:38 AMdocker/sdk cli composer why-not jakoch/phantomjs-installer:^3.0
--> DEVELOPMENT MODE
There is no installed package depending on "jakoch/phantomjs-installer" in versions not matching ^3.0
composer version
docker/sdk cli composer --version
--> DEVELOPMENT MODE
Composer version 2.0.12 2021-04-01 10:14:59average-branch-45579
06/09/2021, 12:52 PMmysterious-spring-57104
06/10/2021, 8:10 AMhigh-pencil-62400
06/10/2021, 8:12 AM