Skip to content

Instantly share code, notes, and snippets.

@hskrasek
Created January 6, 2014 05:49
Show Gist options
  • Save hskrasek/8278791 to your computer and use it in GitHub Desktop.
Save hskrasek/8278791 to your computer and use it in GitHub Desktop.
Laravel HHVM Composer Install Error
>>> Installing Laravel
Installing laravel/laravel (v4.1.0)
- Installing laravel/laravel (v4.1.0)
Downloading: 100%
read failed: Is a directory
read failed: Is a directory
read failed: Is a directory
Created project in /vagrant/laravel
Loading composer repositories with package information
Installing dependencies (including require-dev)
- Installing filp/whoops (1.0.10)
Downloading: 100%
HipHop Fatal error: Uncaught exception 'ErrorException' with message 'Invalid argument: The length of each segment must be greater than zero' in phar://composer.phar/bin/../src/../vendor/symfony/console/Symfony/Component/Console/Application.php:735
Stack trace:
#0 (): Composer\Util\ErrorHandler::handle()
#1 phar://composer.phar/bin/../src/../vendor/symfony/console/Symfony/Component/Console/Application.php(735): str_split()
#2 phar://composer.phar/bin/../src/../src/Composer/Console/Application.php(163): Symfony\Component\Console\Application->renderException()
#3 phar://composer.phar/bin/../src/../vendor/symfony/console/Symfony/Component/Console/Application.php(128): Composer\Console\Application->renderException()
#4 phar://composer.phar/bin/../src/../src/Composer/Console/Application.php(83): Symfony\Component\Console\Application->run()
#5 phar://composer.phar/bin/composer(43): Composer\Console\Application->run()
#6 /usr/local/bin/composer(15): include()
#7 {main}
mkdir: cannot create directory `/vagrant/laravel/public': File exists
@ronanguilloux
Copy link

+1 for an HHVM issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment