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 trialSteve Davies
10,389 PointsRequiring monolog - hitting a dead end.
I am using my Mac rather than Workspaces as I'd like to approach this course like a real project. When I come to typing 'composer require', then 'monolog', after pressing '0' and leaving blank the next option for the latest version, I get the following error:
[Composer\Downloader\TransportException] The "http://packagist.org/p/provider-2013%243f02e3a881cf04e4e754694569f2931 b8dd0a97889bc0091f4688151baf055b0.json" file could not be downloaded (HTTP/ 1.1 404 Not Found)
Does anyone know how I can beyond this? I have tried packages for a version to see if I am doing something wrong.
Google doesn't really help.
I then decided to just use Workspaces but halfway through the course, Workspaces has just ground to a halt, so I need to give up on that.
Please help!!
1 Answer
Steve Davies
10,389 PointsI think I just answered my own question - I did sudo composer require - and it worked . . .
But I think I have been told using sudo composer is not good practice. . . .