I think there might be some issues running composer with a Laravel 5 install today. Take a look at https://laracasts.com/discuss/channels/general-discussion/life-belt-for-early-l5-adopters-pull-in-specific-composer-commit and see if that works for you.
Oct 8, 2014
4
Level 5
running `composer update` or `php artisan` return error
When I run composer update or php artisan I get this error:
{"error":{"type":"ErrorException","message":"mkdir(): No such file or directory","file":"\/var\/www\/html_new\/vendor\/laravel\/framework\/src\/Illuminate\/Filesystem\/Filesystem.php","line":297}}
If I echo out $path in this function within Filesystem.php it returns NULL.
I've tried:
- Deleting
vendorand rerunningcomposer update - Checking permissions of
app/storage - Running
composer clear-cache - Running
composer diagnoseto make sure mycomposer.jsonfile is legit
Any ideas of why this might be happening and how I can fix it?
Level 5
This occurred because I had a command that was referencing a global variable that didn't exist.
Please or to participate in this conversation.