Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP Building Websites with PHP Dependency Management Introducing Composer

piercarlomarinelli
PLUS
piercarlomarinelli
Courses Plus Student 8,207 Points

Require monolog problem

I can't complete require package monolog, the execution is killed. (code below) Someone can help me or give me suggestion? Many thanks

treehouse:~/workspace$ composer require
Search for a package: monolog

Found 15 packages matching monolog

[0] monolog/monolog
[1] kdyby/monolog
[2] mrtnzlml/monolog
[3] stackify/monolog
[4] thinframe/monolog
[5] flowpack/monolog
[6] zoya/monolog
[7] intelogie/monolog
[8] monolog/monolog
[9] amberovsky/zf2-monolog
[10] mero/yii2-monolog
[11] symfony/monolog-bundle
[12] symfony/monolog-bridge
[13] logentries/logentries-monolog-handler
[14] kamisama/monolog-init

Enter package # to add, or the complete package name if it is not listed: 0
Enter the version constraint to require (or leave blank to use the latest version):
Using version ^1.21 for monolog/monolog
Search for a package:
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Killed

Ricky Johnston
Ricky Johnston
27,445 Points

I'm having the same exact issue. It kills the process and doesn't install the vendor folder or anything therein. Anybody have any ideas?

1 Answer

Ricky Johnston
Ricky Johnston
27,445 Points

Still don't know why it happened, but I tried it again today and everything installed just fine. Good luck!