What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hi everyone, Has anyone encountered this error when starting the docker environment? ```Fatal error
Hi everyone,
Has anyone encountered this error when starting the docker environment?
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
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 up
Comments
-
Yes, this is known. One minute.
0 -
composer require jakoch/phantomjs-installer:^3.0 -W --ignore-platform-reqs --no-scripts
0 -
Thanks for your reply. I run
docker/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?
0 -
It should have helped already I believe. Β―_(γ)_/Β―
0 -
Hm looks like nothing was installed or updated:
Package operations: 0 installs, 0 updates, 0 removalsAnd I still got the same error
0 -
Here is the full terminal output:
PhantomInstaller\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 182
0 -
composer why-not
this package with this version?0 -
More information is in this thread - https://sprykercommunity.slack.com/archives/CMYFJCG2E/p1617869576000700.
0 -
composer why-not
docker/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:59
0 -
@ULYHPR789 do you have any ideas then?
0 -
Is there anything else I could do or check? I am currently blocked by this issue π
0 -
If you and your team do not use devvm (vagrant) you can freely remove the module and post-install script from composer.json. It is actually is not used in docker-based setup.
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random